Package com.amazonaws.services.ec2.model
Class ImportVolumeTaskDetails
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ImportVolumeTaskDetails
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ImportVolumeTaskDetails extends Object implements Serializable, Cloneable
Describes an import volume task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportVolumeTaskDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportVolumeTaskDetailsclone()booleanequals(Object obj)StringgetAvailabilityZone()The Availability Zone where the resulting volume will reside.LonggetBytesConverted()The number of bytes converted so far.StringgetDescription()The description you provided when starting the import volume task.DiskImageDescriptiongetImage()The image.DiskImageVolumeDescriptiongetVolume()The volume.inthashCode()voidsetAvailabilityZone(String availabilityZone)The Availability Zone where the resulting volume will reside.voidsetBytesConverted(Long bytesConverted)The number of bytes converted so far.voidsetDescription(String description)The description you provided when starting the import volume task.voidsetImage(DiskImageDescription image)The image.voidsetVolume(DiskImageVolumeDescription volume)The volume.StringtoString()Returns a string representation of this object; useful for testing and debugging.ImportVolumeTaskDetailswithAvailabilityZone(String availabilityZone)The Availability Zone where the resulting volume will reside.ImportVolumeTaskDetailswithBytesConverted(Long bytesConverted)The number of bytes converted so far.ImportVolumeTaskDetailswithDescription(String description)The description you provided when starting the import volume task.ImportVolumeTaskDetailswithImage(DiskImageDescription image)The image.ImportVolumeTaskDetailswithVolume(DiskImageVolumeDescription volume)The volume.
-
-
-
Method Detail
-
setBytesConverted
public void setBytesConverted(Long bytesConverted)
The number of bytes converted so far.
- Parameters:
bytesConverted- The number of bytes converted so far.
-
getBytesConverted
public Long getBytesConverted()
The number of bytes converted so far.
- Returns:
- The number of bytes converted so far.
-
withBytesConverted
public ImportVolumeTaskDetails withBytesConverted(Long bytesConverted)
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
public void setAvailabilityZone(String availabilityZone)
The Availability Zone where the resulting volume will reside.
- Parameters:
availabilityZone- The Availability Zone where the resulting volume will reside.
-
getAvailabilityZone
public String getAvailabilityZone()
The Availability Zone where the resulting volume will reside.
- Returns:
- The Availability Zone where the resulting volume will reside.
-
withAvailabilityZone
public ImportVolumeTaskDetails withAvailabilityZone(String availabilityZone)
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
public void setDescription(String description)
The description you provided when starting the import volume task.
- Parameters:
description- The description you provided when starting the import volume task.
-
getDescription
public String getDescription()
The description you provided when starting the import volume task.
- Returns:
- The description you provided when starting the import volume task.
-
withDescription
public ImportVolumeTaskDetails withDescription(String description)
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
public void setImage(DiskImageDescription image)
The image.
- Parameters:
image- The image.
-
getImage
public DiskImageDescription getImage()
The image.
- Returns:
- The image.
-
withImage
public ImportVolumeTaskDetails withImage(DiskImageDescription image)
The image.
- Parameters:
image- The image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolume
public void setVolume(DiskImageVolumeDescription volume)
The volume.
- Parameters:
volume- The volume.
-
getVolume
public DiskImageVolumeDescription getVolume()
The volume.
- Returns:
- The volume.
-
withVolume
public ImportVolumeTaskDetails withVolume(DiskImageVolumeDescription volume)
The volume.
- Parameters:
volume- The volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImportVolumeTaskDetails clone()
-
-