@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVolumeRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVolumeRequest>
NOOP
Constructor and Description |
---|
ModifyVolumeRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVolumeRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyVolumeRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
Integer |
getIops()
Target IOPS rate of the volume to be modified.
|
Integer |
getSize()
Target size in GiB of the volume to be modified.
|
String |
getVolumeId() |
String |
getVolumeType()
Target EBS volume type of the volume to be modified
|
int |
hashCode() |
void |
setIops(Integer iops)
Target IOPS rate of the volume to be modified.
|
void |
setSize(Integer size)
Target size in GiB of the volume to be modified.
|
void |
setVolumeId(String volumeId) |
void |
setVolumeType(String volumeType)
Target EBS volume type of the volume to be modified
|
void |
setVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyVolumeRequest |
withIops(Integer iops)
Target IOPS rate of the volume to be modified.
|
ModifyVolumeRequest |
withSize(Integer size)
Target size in GiB of the volume to be modified.
|
ModifyVolumeRequest |
withVolumeId(String volumeId) |
ModifyVolumeRequest |
withVolumeType(String volumeType)
Target EBS volume type of the volume to be modified
|
ModifyVolumeRequest |
withVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVolumeId(String volumeId)
volumeId
- public String getVolumeId()
public ModifyVolumeRequest withVolumeId(String volumeId)
volumeId
- public void setSize(Integer size)
Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
size
- Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than
the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
public Integer getSize()
Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
Default: If no size is specified, the existing size is retained.
public ModifyVolumeRequest withSize(Integer size)
Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
size
- Target size in GiB of the volume to be modified. Target volume size must be greater than or equal to than
the existing size of the volume. For information about available EBS volume sizes, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html.
Default: If no size is specified, the existing size is retained.
public void setVolumeType(String volumeType)
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of
a volume to standard
.
Default: If no type is specified, the existing type is retained.
volumeType
- Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the
type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
VolumeType
public String getVolumeType()
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of
a volume to standard
.
Default: If no type is specified, the existing type is retained.
The API does not support modifications for volume type standard
. You also cannot change the
type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
VolumeType
public ModifyVolumeRequest withVolumeType(String volumeType)
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of
a volume to standard
.
Default: If no type is specified, the existing type is retained.
volumeType
- Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the
type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
VolumeType
public void setVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of
a volume to standard
.
Default: If no type is specified, the existing type is retained.
volumeType
- Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the
type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
VolumeType
public ModifyVolumeRequest withVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the type of
a volume to standard
.
Default: If no type is specified, the existing type is retained.
volumeType
- Target EBS volume type of the volume to be modified
The API does not support modifications for volume type standard
. You also cannot change the
type of a volume to standard
.
Default: If no type is specified, the existing type is retained.
VolumeType
public void setIops(Integer iops)
Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about io1
IOPS
configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
iops
- Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about
io1
IOPS configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
public Integer getIops()
Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about io1
IOPS
configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about
io1
IOPS configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
public ModifyVolumeRequest withIops(Integer iops)
Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about io1
IOPS
configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
iops
- Target IOPS rate of the volume to be modified.
Only valid for Provisioned IOPS SSD (io1
) volumes. For more information about
io1
IOPS configuration, see http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumeTypes.html#EBSVolumeTypes_piops.
Default: If no IOPS value is specified, the existing value is retained.
public Request<ModifyVolumeRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVolumeRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVolumeRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.