public class DiskImageDescription extends Object implements Serializable
Constructor and Description |
---|
DiskImageDescription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getChecksum()
Returns the value of the Checksum property for this object.
|
String |
getFormat()
Returns the value of the Format property for this object.
|
String |
getImportManifestUrl()
Returns the value of the ImportManifestUrl property for this object.
|
Long |
getSize()
Returns the value of the Size property for this object.
|
int |
hashCode() |
void |
setChecksum(String checksum)
Sets the value of the Checksum property for this object.
|
void |
setFormat(DiskImageFormat format)
Sets the value of the Format property for this object.
|
void |
setFormat(String format)
Sets the value of the Format property for this object.
|
void |
setImportManifestUrl(String importManifestUrl)
Sets the value of the ImportManifestUrl property for this object.
|
void |
setSize(Long size)
Sets the value of the Size property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImageDescription |
withChecksum(String checksum)
Sets the value of the Checksum property for this object.
|
DiskImageDescription |
withFormat(DiskImageFormat format)
Sets the value of the Format property for this object.
|
DiskImageDescription |
withFormat(String format)
Sets the value of the Format property for this object.
|
DiskImageDescription |
withImportManifestUrl(String importManifestUrl)
Sets the value of the ImportManifestUrl property for this object.
|
DiskImageDescription |
withSize(Long size)
Sets the value of the Size property for this object.
|
public String getFormat()
Constraints:
Allowed Values: VMDK, RAW, VHD
DiskImageFormat
public void setFormat(String format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The new value for the Format property for this object.DiskImageFormat
public DiskImageDescription withFormat(String format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The new value for the Format property for this object.DiskImageFormat
public void setFormat(DiskImageFormat format)
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The new value for the Format property for this object.DiskImageFormat
public DiskImageDescription withFormat(DiskImageFormat format)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: VMDK, RAW, VHD
format
- The new value for the Format property for this object.DiskImageFormat
public Long getSize()
public void setSize(Long size)
size
- The new value for the Size property for this object.public DiskImageDescription withSize(Long size)
Returns a reference to this object so that method calls can be chained together.
size
- The new value for the Size property for this object.public String getImportManifestUrl()
public void setImportManifestUrl(String importManifestUrl)
importManifestUrl
- The new value for the ImportManifestUrl property for this object.public DiskImageDescription withImportManifestUrl(String importManifestUrl)
Returns a reference to this object so that method calls can be chained together.
importManifestUrl
- The new value for the ImportManifestUrl property for this object.public String getChecksum()
public void setChecksum(String checksum)
checksum
- The new value for the Checksum property for this object.public DiskImageDescription withChecksum(String checksum)
Returns a reference to this object so that method calls can be chained together.
checksum
- The new value for the Checksum property for this object.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.