| 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.ModifyVolumeAttributeRequest
public class ModifyVolumeAttributeRequest
Container for the parameters to the ModifyVolumeAttribute operation.
 
Modifies a volume attribute.
By default, all I/O operations for the volume are suspended when the data on the volume is determined to be potentially inconsistent, to prevent undetectable, latent data corruption. The I/O access to the volume can be resumed by first enabling I/O access and then checking the data consistency on your volume.
You can change the default behavior to resume I/O operations. We recommend that you change this only for boot volumes or for volumes that are stateless or disposable.
AmazonEC2.modifyVolumeAttribute(ModifyVolumeAttributeRequest), 
Serialized Form| Constructor Summary | |
|---|---|
ModifyVolumeAttributeRequest()
 | 
|
| Method Summary | |
|---|---|
 boolean | 
equals(java.lang.Object obj)
 | 
 java.lang.Boolean | 
getAutoEnableIO()
Indicates whether the volume should be auto-enabled for I/O operations.  | 
 Request<ModifyVolumeAttributeRequest> | 
getDryRunRequest()
This method is intended for internal use only.  | 
 java.lang.String | 
getVolumeId()
The ID of the volume.  | 
 int | 
hashCode()
 | 
 java.lang.Boolean | 
isAutoEnableIO()
Indicates whether the volume should be auto-enabled for I/O operations.  | 
 void | 
setAutoEnableIO(java.lang.Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.  | 
 void | 
setVolumeId(java.lang.String volumeId)
The ID of the volume.  | 
 java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and debugging.  | 
 ModifyVolumeAttributeRequest | 
withAutoEnableIO(java.lang.Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.  | 
 ModifyVolumeAttributeRequest | 
withVolumeId(java.lang.String volumeId)
The ID of the volume.  | 
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest | 
|---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector | 
| Methods inherited from class java.lang.Object | 
|---|
getClass, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public ModifyVolumeAttributeRequest()
| Method Detail | 
|---|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId - The ID of the volume.public ModifyVolumeAttributeRequest withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The ID of the volume.
public java.lang.Boolean isAutoEnableIO()
public void setAutoEnableIO(java.lang.Boolean autoEnableIO)
autoEnableIO - Indicates whether the volume should be auto-enabled for I/O
         operations.public ModifyVolumeAttributeRequest withAutoEnableIO(java.lang.Boolean autoEnableIO)
Returns a reference to this object so that method calls can be chained together.
autoEnableIO - Indicates whether the volume should be auto-enabled for I/O
         operations.
public java.lang.Boolean getAutoEnableIO()
public Request<ModifyVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyVolumeAttributeRequest>public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
  | 
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||