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