com.amazonaws.services.ec2.model
Class ImportVolumeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.ImportVolumeRequest

public class ImportVolumeRequest
extends AmazonWebServiceRequest

Container for the parameters to the ImportVolume operation.

See Also:
AmazonEC2.importVolume(ImportVolumeRequest)

Constructor Summary
ImportVolumeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAvailabilityZone()
          Returns the value of the AvailabilityZone property for this object.
 String getDescription()
          Returns the value of the Description property for this object.
 DiskImageDetail getImage()
          Returns the value of the Image property for this object.
 VolumeDetail getVolume()
          Returns the value of the Volume property for this object.
 int hashCode()
           
 void setAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 void setDescription(String description)
          Sets the value of the Description property for this object.
 void setImage(DiskImageDetail image)
          Sets the value of the Image property for this object.
 void setVolume(VolumeDetail volume)
          Sets the value of the Volume property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ImportVolumeRequest withAvailabilityZone(String availabilityZone)
          Sets the value of the AvailabilityZone property for this object.
 ImportVolumeRequest withDescription(String description)
          Sets the value of the Description property for this object.
 ImportVolumeRequest withImage(DiskImageDetail image)
          Sets the value of the Image property for this object.
 ImportVolumeRequest withVolume(VolumeDetail volume)
          Sets the value of the Volume property for this object.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportVolumeRequest

public ImportVolumeRequest()
Method Detail

getAvailabilityZone

public String getAvailabilityZone()
Returns the value of the AvailabilityZone property for this object.

Returns:
The value of the AvailabilityZone property for this object.

setAvailabilityZone

public void setAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.

withAvailabilityZone

public ImportVolumeRequest withAvailabilityZone(String availabilityZone)
Sets the value of the AvailabilityZone property for this object.

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

Parameters:
availabilityZone - The new value for the AvailabilityZone property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getImage

public DiskImageDetail getImage()
Returns the value of the Image property for this object.

Returns:
The value of the Image property for this object.

setImage

public void setImage(DiskImageDetail image)
Sets the value of the Image property for this object.

Parameters:
image - The new value for the Image property for this object.

withImage

public ImportVolumeRequest withImage(DiskImageDetail image)
Sets the value of the Image property for this object.

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

Parameters:
image - The new value for the Image property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
Returns the value of the Description property for this object.

Returns:
The value of the Description property for this object.

setDescription

public void setDescription(String description)
Sets the value of the Description property for this object.

Parameters:
description - The new value for the Description property for this object.

withDescription

public ImportVolumeRequest withDescription(String description)
Sets the value of the Description property for this object.

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

Parameters:
description - The new value for the Description property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getVolume

public VolumeDetail getVolume()
Returns the value of the Volume property for this object.

Returns:
The value of the Volume property for this object.

setVolume

public void setVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.

Parameters:
volume - The new value for the Volume property for this object.

withVolume

public ImportVolumeRequest withVolume(VolumeDetail volume)
Sets the value of the Volume property for this object.

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

Parameters:
volume - The new value for the Volume property for this object.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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