public class ModifyVolumeAttributeRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<ModifyVolumeAttributeRequest>
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.
NOOP
Constructor and Description |
---|
ModifyVolumeAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
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.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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()
Copyright © 2014. All rights reserved.