public class ImportVolumeTaskDetails
extends java.lang.Object
implements java.io.Serializable
Describes an import volume task.
Constructor and Description |
---|
ImportVolumeTaskDetails() |
Modifier and Type | Method and Description |
---|---|
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.
|
public java.lang.Long getBytesConverted()
public void setBytesConverted(java.lang.Long bytesConverted)
bytesConverted
- The number of bytes converted so far.public ImportVolumeTaskDetails withBytesConverted(java.lang.Long bytesConverted)
Returns a reference to this object so that method calls can be chained together.
bytesConverted
- The number of bytes converted so far.public java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone
- The Availability Zone where the resulting volume will reside.public ImportVolumeTaskDetails withAvailabilityZone(java.lang.String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The Availability Zone where the resulting volume will reside.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- The description you provided when starting the import volume task.public ImportVolumeTaskDetails withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description you provided when starting the import volume task.public DiskImageDescription getImage()
public void setImage(DiskImageDescription image)
image
- The image.public ImportVolumeTaskDetails withImage(DiskImageDescription image)
Returns a reference to this object so that method calls can be chained together.
image
- The image.public DiskImageVolumeDescription getVolume()
public void setVolume(DiskImageVolumeDescription volume)
volume
- The volume.public ImportVolumeTaskDetails withVolume(DiskImageVolumeDescription volume)
Returns a reference to this object so that method calls can be chained together.
volume
- The volume.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.