com.amazonaws.services.ec2.model
Class ImportVolumeTaskDetails

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

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

Describes an import volume task.

See Also:
Serialized Form

Constructor Summary
ImportVolumeTaskDetails()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAvailabilityZone()
          The Availability Zone where the resulting volume will reside.
 java.lang.Long getBytesConverted()
          The number of bytes converted so far.
 java.lang.String getDescription()
          The description you provided when starting the import volume task.
 DiskImageDescription getImage()
          The image.
 DiskImageVolumeDescription getVolume()
          The volume.
 int hashCode()
           
 void setAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone where the resulting volume will reside.
 void setBytesConverted(java.lang.Long bytesConverted)
          The number of bytes converted so far.
 void setDescription(java.lang.String description)
          The description you provided when starting the import volume task.
 void setImage(DiskImageDescription image)
          The image.
 void setVolume(DiskImageVolumeDescription volume)
          The volume.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportVolumeTaskDetails withAvailabilityZone(java.lang.String availabilityZone)
          The Availability Zone where the resulting volume will reside.
 ImportVolumeTaskDetails withBytesConverted(java.lang.Long bytesConverted)
          The number of bytes converted so far.
 ImportVolumeTaskDetails withDescription(java.lang.String description)
          The description you provided when starting the import volume task.
 ImportVolumeTaskDetails withImage(DiskImageDescription image)
          The image.
 ImportVolumeTaskDetails withVolume(DiskImageVolumeDescription volume)
          The volume.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportVolumeTaskDetails

public ImportVolumeTaskDetails()
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 ImportVolumeTaskDetails 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 volume will reside.

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

setAvailabilityZone

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

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

withAvailabilityZone

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

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

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

getDescription

public java.lang.String getDescription()
The description you provided when starting the import volume task.

Returns:
The description you provided when starting the import volume task.

setDescription

public void setDescription(java.lang.String description)
The description you provided when starting the import volume task.

Parameters:
description - The description you provided when starting the import volume task.

withDescription

public ImportVolumeTaskDetails withDescription(java.lang.String description)
The description you provided when starting the import volume task.

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

Parameters:
description - The description you provided when starting the import volume task.
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 ImportVolumeTaskDetails 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 ImportVolumeTaskDetails 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.

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.