com.amazonaws.services.ec2.model
Class ModifyVolumeAttributeRequest

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

public class ModifyVolumeAttributeRequest
extends AmazonWebServiceRequest

Container for the parameters to the ModifyVolumeAttribute operation.

See Also:
AmazonEC2.modifyVolumeAttribute(ModifyVolumeAttributeRequest)

Constructor Summary
ModifyVolumeAttributeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getAutoEnableIO()
          Returns the value of the AutoEnableIO property for this object.
 String getVolumeId()
          Returns the value of the VolumeId property for this object.
 int hashCode()
           
 Boolean isAutoEnableIO()
          Returns the value of the AutoEnableIO property for this object.
 void setAutoEnableIO(Boolean autoEnableIO)
          Sets the value of the AutoEnableIO property for this object.
 void setVolumeId(String volumeId)
          Sets the value of the VolumeId property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ModifyVolumeAttributeRequest withAutoEnableIO(Boolean autoEnableIO)
          Sets the value of the AutoEnableIO property for this object.
 ModifyVolumeAttributeRequest withVolumeId(String volumeId)
          Sets the value of the VolumeId 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

ModifyVolumeAttributeRequest

public ModifyVolumeAttributeRequest()
Method Detail

getVolumeId

public String getVolumeId()
Returns the value of the VolumeId property for this object.

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

setVolumeId

public void setVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.

Parameters:
volumeId - The new value for the VolumeId property for this object.

withVolumeId

public ModifyVolumeAttributeRequest withVolumeId(String volumeId)
Sets the value of the VolumeId property for this object.

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

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

isAutoEnableIO

public Boolean isAutoEnableIO()
Returns the value of the AutoEnableIO property for this object.

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

setAutoEnableIO

public void setAutoEnableIO(Boolean autoEnableIO)
Sets the value of the AutoEnableIO property for this object.

Parameters:
autoEnableIO - The new value for the AutoEnableIO property for this object.

withAutoEnableIO

public ModifyVolumeAttributeRequest withAutoEnableIO(Boolean autoEnableIO)
Sets the value of the AutoEnableIO property for this object.

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

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

getAutoEnableIO

public Boolean getAutoEnableIO()
Returns the value of the AutoEnableIO property for this object.

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

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.