|
||||||||||
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 FormConstructor Summary | |
---|---|
ModifyVolumeAttributeRequest()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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. |
String |
getVolumeId()
The ID of the volume. |
int |
hashCode()
|
Boolean |
isAutoEnableIO()
Indicates whether the volume should be auto-enabled for I/O operations. |
void |
setAutoEnableIO(Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations. |
void |
setVolumeId(String volumeId)
The ID of the volume. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ModifyVolumeAttributeRequest |
withAutoEnableIO(Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations. |
ModifyVolumeAttributeRequest |
withVolumeId(String volumeId)
The ID of the volume. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModifyVolumeAttributeRequest()
Method Detail |
---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the volume.public ModifyVolumeAttributeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the volume.
public Boolean isAutoEnableIO()
public void setAutoEnableIO(Boolean autoEnableIO)
autoEnableIO
- Indicates whether the volume should be auto-enabled for I/O
operations.public ModifyVolumeAttributeRequest withAutoEnableIO(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 Boolean getAutoEnableIO()
public Request<ModifyVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVolumeAttributeRequest>
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |