Package com.amazonaws.services.ec2.model
Class ImportVolumeTaskDetails
java.lang.Object
com.amazonaws.services.ec2.model.ImportVolumeTaskDetails
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an import volume task.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Availability Zone where the resulting volume will reside.The number of bytes converted so far.The description you provided when starting the import volume task.getImage()
The image.The volume.int
hashCode()
void
setAvailabilityZone
(String availabilityZone) The Availability Zone where the resulting volume will reside.void
setBytesConverted
(Long bytesConverted) The number of bytes converted so far.void
setDescription
(String description) The description you provided when starting the import volume task.void
setImage
(DiskImageDescription image) The image.void
setVolume
(DiskImageVolumeDescription volume) The volume.toString()
Returns a string representation of this object; useful for testing and debugging.withAvailabilityZone
(String availabilityZone) The Availability Zone where the resulting volume will reside.withBytesConverted
(Long bytesConverted) The number of bytes converted so far.withDescription
(String description) The description you provided when starting the import volume task.withImage
(DiskImageDescription image) The image.withVolume
(DiskImageVolumeDescription volume) The volume.
-
Constructor Details
-
ImportVolumeTaskDetails
public ImportVolumeTaskDetails()
-
-
Method Details
-
setBytesConverted
The number of bytes converted so far.
- Parameters:
bytesConverted
- The number of bytes converted so far.
-
getBytesConverted
The number of bytes converted so far.
- Returns:
- The number of bytes converted so far.
-
withBytesConverted
The number of bytes converted so far.
- Parameters:
bytesConverted
- The number of bytes converted so far.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAvailabilityZone
The Availability Zone where the resulting volume will reside.
- Parameters:
availabilityZone
- The Availability Zone where the resulting volume will reside.
-
getAvailabilityZone
The Availability Zone where the resulting volume will reside.
- Returns:
- The Availability Zone where the resulting volume will reside.
-
withAvailabilityZone
The Availability Zone where the resulting volume will reside.
- Parameters:
availabilityZone
- The Availability Zone where the resulting volume will reside.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description you provided when starting the import volume task.
- Parameters:
description
- The description you provided when starting the import volume task.
-
getDescription
The description you provided when starting the import volume task.
- Returns:
- The description you provided when starting the import volume task.
-
withDescription
The description you provided when starting the import volume task.
- Parameters:
description
- The description you provided when starting the import volume task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setImage
The image.
- Parameters:
image
- The image.
-
getImage
The image.
- Returns:
- The image.
-
withImage
The image.
- Parameters:
image
- The image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolume
The volume.
- Parameters:
volume
- The volume.
-
getVolume
The volume.
- Returns:
- The volume.
-
withVolume
The volume.
- Parameters:
volume
- The volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-