Class ImportInstanceVolumeDetailItem
- java.lang.Object
-
- com.amazonaws.services.ec2.model.ImportInstanceVolumeDetailItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ImportInstanceVolumeDetailItem extends Object implements Serializable, Cloneable
Describes an import volume task.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImportInstanceVolumeDetailItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportInstanceVolumeDetailItem
clone()
boolean
equals(Object obj)
String
getAvailabilityZone()
The Availability Zone where the resulting instance will reside.Long
getBytesConverted()
The number of bytes converted so far.String
getDescription()
A description of the task.DiskImageDescription
getImage()
The image.String
getStatus()
The status of the import of this particular disk image.String
getStatusMessage()
The status information or errors related to the disk image.DiskImageVolumeDescription
getVolume()
The volume.int
hashCode()
void
setAvailabilityZone(String availabilityZone)
The Availability Zone where the resulting instance will reside.void
setBytesConverted(Long bytesConverted)
The number of bytes converted so far.void
setDescription(String description)
A description of the task.void
setImage(DiskImageDescription image)
The image.void
setStatus(String status)
The status of the import of this particular disk image.void
setStatusMessage(String statusMessage)
The status information or errors related to the disk image.void
setVolume(DiskImageVolumeDescription volume)
The volume.String
toString()
Returns a string representation of this object; useful for testing and debugging.ImportInstanceVolumeDetailItem
withAvailabilityZone(String availabilityZone)
The Availability Zone where the resulting instance will reside.ImportInstanceVolumeDetailItem
withBytesConverted(Long bytesConverted)
The number of bytes converted so far.ImportInstanceVolumeDetailItem
withDescription(String description)
A description of the task.ImportInstanceVolumeDetailItem
withImage(DiskImageDescription image)
The image.ImportInstanceVolumeDetailItem
withStatus(String status)
The status of the import of this particular disk image.ImportInstanceVolumeDetailItem
withStatusMessage(String statusMessage)
The status information or errors related to the disk image.ImportInstanceVolumeDetailItem
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 ImportInstanceVolumeDetailItem 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 instance will reside.
- Parameters:
availabilityZone
- The Availability Zone where the resulting instance will reside.
-
getAvailabilityZone
public String getAvailabilityZone()
The Availability Zone where the resulting instance will reside.
- Returns:
- The Availability Zone where the resulting instance will reside.
-
withAvailabilityZone
public ImportInstanceVolumeDetailItem withAvailabilityZone(String availabilityZone)
The Availability Zone where the resulting instance will reside.
- Parameters:
availabilityZone
- The Availability Zone where the resulting instance will reside.- 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 ImportInstanceVolumeDetailItem 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 ImportInstanceVolumeDetailItem withVolume(DiskImageVolumeDescription volume)
The volume.
- Parameters:
volume
- The volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatus
public void setStatus(String status)
The status of the import of this particular disk image.
- Parameters:
status
- The status of the import of this particular disk image.
-
getStatus
public String getStatus()
The status of the import of this particular disk image.
- Returns:
- The status of the import of this particular disk image.
-
withStatus
public ImportInstanceVolumeDetailItem withStatus(String status)
The status of the import of this particular disk image.
- Parameters:
status
- The status of the import of this particular disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStatusMessage
public void setStatusMessage(String statusMessage)
The status information or errors related to the disk image.
- Parameters:
statusMessage
- The status information or errors related to the disk image.
-
getStatusMessage
public String getStatusMessage()
The status information or errors related to the disk image.
- Returns:
- The status information or errors related to the disk image.
-
withStatusMessage
public ImportInstanceVolumeDetailItem withStatusMessage(String statusMessage)
The status information or errors related to the disk image.
- Parameters:
statusMessage
- The status information or errors related to the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
public void setDescription(String description)
A description of the task.
- Parameters:
description
- A description of the task.
-
getDescription
public String getDescription()
A description of the task.
- Returns:
- A description of the task.
-
withDescription
public ImportInstanceVolumeDetailItem withDescription(String description)
A description of the task.
- Parameters:
description
- A description of the task.- 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 ImportInstanceVolumeDetailItem clone()
-
-