Modifier and Type | Class and Description |
---|---|
static class |
Disk.Attachment |
static class |
Disk.Builder<T extends Disk.Builder<T>> |
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
affinityGroup |
protected com.google.common.base.Optional<Disk.Attachment> |
attachedTo |
protected com.google.common.base.Optional<String> |
description |
protected boolean |
hasOperatingSystem |
protected boolean |
isCorrupted |
protected com.google.common.base.Optional<String> |
label |
protected com.google.common.base.Optional<String> |
location |
protected com.google.common.base.Optional<Integer> |
logicalSizeInGB |
protected com.google.common.base.Optional<URI> |
mediaLink |
protected String |
name |
protected OSType |
os |
protected com.google.common.base.Optional<String> |
sourceImage |
Modifier | Constructor and Description |
---|---|
protected |
Disk(com.google.common.base.Optional<Disk.Attachment> attachedTo,
OSType os,
String name,
com.google.common.base.Optional<Integer> logicalSizeInGB,
com.google.common.base.Optional<String> description,
com.google.common.base.Optional<String> location,
com.google.common.base.Optional<String> affinityGroup,
com.google.common.base.Optional<URI> mediaLink,
com.google.common.base.Optional<String> sourceImage,
com.google.common.base.Optional<String> label,
boolean hasOperatingSystem,
boolean isCorrupted) |
Modifier and Type | Method and Description |
---|---|
static Disk.Builder<?> |
builder() |
boolean |
equals(Object obj) |
com.google.common.base.Optional<String> |
getAffinityGroup()
The affinity in which the media is located.
|
com.google.common.base.Optional<Disk.Attachment> |
getAttachedTo()
Contains properties that specify a virtual machine that currently using the disk.
|
com.google.common.base.Optional<String> |
getDescription()
The description for the image.
|
com.google.common.base.Optional<String> |
getLabel()
The description of the image.
|
com.google.common.base.Optional<String> |
getLocation()
The geo-location in which this media is located.
|
com.google.common.base.Optional<Integer> |
getLogicalSizeInGB()
The size, in GB, of the image.
|
com.google.common.base.Optional<URI> |
getMediaLink()
The location of the blob in the blob store in which the media for the disk is located.
|
String |
getName()
The name of the disk.
|
OSType |
getOS()
The operating system type of the OS image.
|
com.google.common.base.Optional<String> |
getSourceImage()
The name of the OS Image from which the disk was created.
|
int |
hashCode() |
boolean |
hasOperatingSystem()
Returns whether this disk contains operation system.
|
boolean |
isCorrupted()
Returns whether there is a consistency failure detected with this disk.
|
protected com.google.common.base.Objects.ToStringHelper |
string() |
Disk.Builder<?> |
toBuilder() |
String |
toString() |
protected final com.google.common.base.Optional<Disk.Attachment> attachedTo
protected final OSType os
protected final String name
protected final com.google.common.base.Optional<Integer> logicalSizeInGB
protected final com.google.common.base.Optional<String> description
protected final com.google.common.base.Optional<String> location
protected final com.google.common.base.Optional<String> affinityGroup
protected final com.google.common.base.Optional<URI> mediaLink
protected final com.google.common.base.Optional<String> sourceImage
protected final com.google.common.base.Optional<String> label
protected final boolean hasOperatingSystem
protected final boolean isCorrupted
protected Disk(com.google.common.base.Optional<Disk.Attachment> attachedTo, OSType os, String name, com.google.common.base.Optional<Integer> logicalSizeInGB, com.google.common.base.Optional<String> description, com.google.common.base.Optional<String> location, com.google.common.base.Optional<String> affinityGroup, com.google.common.base.Optional<URI> mediaLink, com.google.common.base.Optional<String> sourceImage, com.google.common.base.Optional<String> label, boolean hasOperatingSystem, boolean isCorrupted)
public static Disk.Builder<?> builder()
public Disk.Builder<?> toBuilder()
public com.google.common.base.Optional<Disk.Attachment> getAttachedTo()
public OSType getOS()
public String getName()
public com.google.common.base.Optional<Integer> getLogicalSizeInGB()
public com.google.common.base.Optional<String> getDescription()
public com.google.common.base.Optional<String> getLocation()
public com.google.common.base.Optional<String> getAffinityGroup()
public com.google.common.base.Optional<URI> getMediaLink()
public com.google.common.base.Optional<String> getSourceImage()
public com.google.common.base.Optional<String> getLabel()
public boolean hasOperatingSystem()
public boolean isCorrupted()
protected com.google.common.base.Objects.ToStringHelper string()
Copyright © 2009-2013 jclouds. All Rights Reserved.