public class ImportVolumeTaskDetails
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 volume will reside.
|
private java.lang.Long |
bytesConverted
The number of bytes converted so far.
|
private java.lang.String |
description
The description you provided when starting the import volume task.
|
private DiskImageDescription |
image
The image.
|
private DiskImageVolumeDescription |
volume
The volume.
|
Constructor and Description |
---|
ImportVolumeTaskDetails() |
Modifier and Type | Method and Description |
---|---|
ImportVolumeTaskDetails |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The Availability Zone where the resulting volume will reside.
|
java.lang.Long |
getBytesConverted()
The number of bytes converted so far.
|
java.lang.String |
getDescription()
The description you provided when starting the import volume task.
|
DiskImageDescription |
getImage()
The image.
|
DiskImageVolumeDescription |
getVolume()
The volume.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting volume will reside.
|
void |
setBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
|
void |
setDescription(java.lang.String description)
The description you provided when starting the import volume task.
|
void |
setImage(DiskImageDescription image)
The image.
|
void |
setVolume(DiskImageVolumeDescription volume)
The volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImportVolumeTaskDetails |
withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting volume will reside.
|
ImportVolumeTaskDetails |
withBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.
|
ImportVolumeTaskDetails |
withDescription(java.lang.String description)
The description you provided when starting the import volume task.
|
ImportVolumeTaskDetails |
withImage(DiskImageDescription image)
The image.
|
ImportVolumeTaskDetails |
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 volume will reside.
private java.lang.String description
The description you provided when starting the import volume task.
private DiskImageDescription image
The image.
private DiskImageVolumeDescription volume
The volume.
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 ImportVolumeTaskDetails 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 volume will reside.
availabilityZone
- The Availability Zone where the resulting volume will reside.public java.lang.String getAvailabilityZone()
The Availability Zone where the resulting volume will reside.
public ImportVolumeTaskDetails withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting volume will reside.
availabilityZone
- The Availability Zone where the resulting volume will reside.public void setDescription(java.lang.String description)
The description you provided when starting the import volume task.
description
- The description you provided when starting the import volume task.public java.lang.String getDescription()
The description you provided when starting the import volume task.
public ImportVolumeTaskDetails withDescription(java.lang.String description)
The description you provided when starting the import volume task.
description
- The description you provided when starting the import volume task.public void setImage(DiskImageDescription image)
The image.
image
- The image.public DiskImageDescription getImage()
The image.
public ImportVolumeTaskDetails withImage(DiskImageDescription image)
The image.
image
- The image.public void setVolume(DiskImageVolumeDescription volume)
The volume.
volume
- The volume.public DiskImageVolumeDescription getVolume()
The volume.
public ImportVolumeTaskDetails withVolume(DiskImageVolumeDescription volume)
The volume.
volume
- The volume.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 ImportVolumeTaskDetails clone()
clone
in class java.lang.Object