public class ImportInstanceVolumeDetailItem
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an import volume task.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
availabilityZone
The Availability Zone where the resulting instance will reside.
|
private java.lang.Long |
bytesConverted
The number of bytes converted so far.
|
private java.lang.String |
description
A description of the task.
|
private DiskImageDescription |
image
The image.
|
private java.lang.String |
status
The status of the import of this particular disk image.
|
private java.lang.String |
statusMessage
The status information or errors related to the disk image.
|
private DiskImageVolumeDescription |
volume
The volume.
|
Constructor and Description |
---|
ImportInstanceVolumeDetailItem() |
Modifier and Type | Method and Description |
---|---|
ImportInstanceVolumeDetailItem |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone where the resulting instance will reside.
|
java.lang.Long |
getBytesConverted()
The number of bytes converted so far.
|
java.lang.String |
getDescription()
A description of the task.
|
DiskImageDescription |
getImage()
The image.
|
java.lang.String |
getStatus()
The status of the import of this particular disk image.
|
java.lang.String |
getStatusMessage()
The status information or errors related to the disk image.
|
DiskImageVolumeDescription |
getVolume()
The volume.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.
|
void |
setBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
|
void |
setDescription(java.lang.String description)
A description of the task.
|
void |
setImage(DiskImageDescription image)
The image.
|
void |
setStatus(java.lang.String status)
The status of the import of this particular disk image.
|
void |
setStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.
|
void |
setVolume(DiskImageVolumeDescription volume)
The volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportInstanceVolumeDetailItem |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.
|
ImportInstanceVolumeDetailItem |
withBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
|
ImportInstanceVolumeDetailItem |
withDescription(java.lang.String description)
A description of the task.
|
ImportInstanceVolumeDetailItem |
withImage(DiskImageDescription image)
The image.
|
ImportInstanceVolumeDetailItem |
withStatus(java.lang.String status)
The status of the import of this particular disk image.
|
ImportInstanceVolumeDetailItem |
withStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.
|
ImportInstanceVolumeDetailItem |
withVolume(DiskImageVolumeDescription volume)
The volume.
|
private java.lang.Long bytesConverted
The number of bytes converted so far.
private java.lang.String availabilityZone
The Availability Zone where the resulting instance will reside.
private DiskImageDescription image
The image.
private DiskImageVolumeDescription volume
The volume.
private java.lang.String status
The status of the import of this particular disk image.
private java.lang.String statusMessage
The status information or errors related to the disk image.
private java.lang.String description
A description of the task.
public void setBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
bytesConverted
- The number of bytes converted so far.public java.lang.Long getBytesConverted()
The number of bytes converted so far.
public ImportInstanceVolumeDetailItem withBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
bytesConverted
- The number of bytes converted so far.public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.
availabilityZone
- The Availability Zone where the resulting instance will reside.public java.lang.String getAvailabilityZone()
The Availability Zone where the resulting instance will reside.
public ImportInstanceVolumeDetailItem withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.
availabilityZone
- The Availability Zone where the resulting instance will reside.public void setImage(DiskImageDescription image)
The image.
image
- The image.public DiskImageDescription getImage()
The image.
public ImportInstanceVolumeDetailItem withImage(DiskImageDescription image)
The image.
image
- The image.public void setVolume(DiskImageVolumeDescription volume)
The volume.
volume
- The volume.public DiskImageVolumeDescription getVolume()
The volume.
public ImportInstanceVolumeDetailItem withVolume(DiskImageVolumeDescription volume)
The volume.
volume
- The volume.public void setStatus(java.lang.String status)
The status of the import of this particular disk image.
status
- The status of the import of this particular disk image.public java.lang.String getStatus()
The status of the import of this particular disk image.
public ImportInstanceVolumeDetailItem withStatus(java.lang.String status)
The status of the import of this particular disk image.
status
- The status of the import of this particular disk image.public void setStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.
statusMessage
- The status information or errors related to the disk image.public java.lang.String getStatusMessage()
The status information or errors related to the disk image.
public ImportInstanceVolumeDetailItem withStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.
statusMessage
- The status information or errors related to the disk image.public void setDescription(java.lang.String description)
A description of the task.
description
- A description of the task.public java.lang.String getDescription()
A description of the task.
public ImportInstanceVolumeDetailItem withDescription(java.lang.String description)
A description of the task.
description
- A description of the task.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ImportInstanceVolumeDetailItem clone()
clone
in class java.lang.Object