public class ModifyVolumeAttributeRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<ModifyVolumeAttributeRequest>
Contains the parameters for ModifyVolumeAttribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
autoEnableIO
Indicates whether the volume should be auto-enabled for I/O operations.
|
private java.lang.String |
volumeId
The ID of the volume.
|
NOOP
Constructor and Description |
---|
ModifyVolumeAttributeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVolumeAttributeRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String volumeId
The ID of the volume.
private java.lang.Boolean autoEnableIO
Indicates whether the volume should be auto-enabled for I/O operations.
public void setVolumeId(java.lang.String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public java.lang.String getVolumeId()
The ID of the volume.
public ModifyVolumeAttributeRequest withVolumeId(java.lang.String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public void setAutoEnableIO(java.lang.Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.
autoEnableIO
- Indicates whether the volume should be auto-enabled for I/O
operations.public java.lang.Boolean getAutoEnableIO()
Indicates whether the volume should be auto-enabled for I/O operations.
public ModifyVolumeAttributeRequest withAutoEnableIO(java.lang.Boolean autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.
autoEnableIO
- Indicates whether the volume should be auto-enabled for I/O
operations.public java.lang.Boolean isAutoEnableIO()
Indicates whether the volume should be auto-enabled for I/O operations.
public Request<ModifyVolumeAttributeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVolumeAttributeRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ModifyVolumeAttributeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()