com.amazonaws.services.ec2.model
Class ImportInstanceVolumeDetailItem

java.lang.Object
  extended by com.amazonaws.services.ec2.model.ImportInstanceVolumeDetailItem
All Implemented Interfaces:
java.io.Serializable

public class ImportInstanceVolumeDetailItem
extends java.lang.Object
implements java.io.Serializable

Describes an import volume task.

See Also:
Serialized Form

Constructor Summary
ImportInstanceVolumeDetailItem()
           
 
Method Summary
 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()
           
 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)
           
 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)
           Returns a reference to this object so that method calls can be chained together.
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportInstanceVolumeDetailItem

public ImportInstanceVolumeDetailItem()
Method Detail

getBytesConverted

public java.lang.Long getBytesConverted()
The number of bytes converted so far.

Returns:
The number of bytes converted so far.

setBytesConverted

public void setBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.

Parameters:
bytesConverted - The number of bytes converted so far.

withBytesConverted

public ImportInstanceVolumeDetailItem withBytesConverted(java.lang.Long bytesConverted)
The number of bytes converted so far.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bytesConverted - The number of bytes converted so far.
Returns:
A reference to this updated object so that method calls can be chained together.

getAvailabilityZone

public java.lang.String getAvailabilityZone()
The Availability Zone where the resulting instance will reside.

Returns:
The Availability Zone where the resulting instance will reside.

setAvailabilityZone

public void setAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.

Parameters:
availabilityZone - The Availability Zone where the resulting instance will reside.

withAvailabilityZone

public ImportInstanceVolumeDetailItem withAvailabilityZone(java.lang.String availabilityZone)
The Availability Zone where the resulting instance will reside.

Returns a reference to this object so that method calls can be chained together.

Parameters:
availabilityZone - The Availability Zone where the resulting instance will reside.
Returns:
A reference to this updated object so that method calls can be chained together.

getImage

public DiskImageDescription getImage()
The image.

Returns:
The image.

setImage

public void setImage(DiskImageDescription image)
The image.

Parameters:
image - The image.

withImage

public ImportInstanceVolumeDetailItem withImage(DiskImageDescription image)
The image.

Returns a reference to this object so that method calls can be chained together.

Parameters:
image - The image.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolume

public DiskImageVolumeDescription getVolume()
The volume.

Returns:
The volume.

setVolume

public void setVolume(DiskImageVolumeDescription volume)
The volume.

Parameters:
volume - The volume.

withVolume

public ImportInstanceVolumeDetailItem withVolume(DiskImageVolumeDescription volume)
The volume.

Returns a reference to this object so that method calls can be chained together.

Parameters:
volume - The volume.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatus

public java.lang.String getStatus()
The status of the import of this particular disk image.

Returns:
The status of the import of this particular disk image.

setStatus

public void setStatus(java.lang.String status)
The status of the import of this particular disk image.

Parameters:
status - The status of the import of this particular disk image.

withStatus

public ImportInstanceVolumeDetailItem withStatus(java.lang.String status)
The status of the import of this particular disk image.

Returns a reference to this object so that method calls can be chained together.

Parameters:
status - The status of the import of this particular disk image.
Returns:
A reference to this updated object so that method calls can be chained together.

getStatusMessage

public java.lang.String getStatusMessage()
The status information or errors related to the disk image.

Returns:
The status information or errors related to the disk image.

setStatusMessage

public void setStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.

Parameters:
statusMessage - The status information or errors related to the disk image.

withStatusMessage

public ImportInstanceVolumeDetailItem withStatusMessage(java.lang.String statusMessage)
The status information or errors related to the disk image.

Returns a reference to this object so that method calls can be chained together.

Parameters:
statusMessage - The status information or errors related to the disk image.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public java.lang.String getDescription()
Returns:

setDescription

public void setDescription(java.lang.String description)
Parameters:
description -

withDescription

public ImportInstanceVolumeDetailItem withDescription(java.lang.String description)

Returns a reference to this object so that method calls can be chained together.

Parameters:
description -
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.