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 ImportVolumeTaskDetails
clone()
boolean
equals(Object obj)
String
getAvailabilityZone()
The Availability Zone where the resulting volume will reside.Long
getBytesConverted()
The number of bytes converted so far.String
getDescription()
The description you provided when starting the import volume task.DiskImageDescription
getImage()
The image.DiskImageVolumeDescription
getVolume()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImportVolumeTaskDetails
withAvailabilityZone(String availabilityZone)
The Availability Zone where the resulting volume will reside.ImportVolumeTaskDetails
withBytesConverted(Long bytesConverted)
The number of bytes converted so far.ImportVolumeTaskDetails
withDescription(String description)
The description you provided when starting the import volume task.ImportVolumeTaskDetails
withImage(DiskImageDescription image)
The image.ImportVolumeTaskDetails
withVolume(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ImportVolumeTaskDetails clone()
-
-