@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() |
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
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the type of
a volume to standard.
volumeType - Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the
type of a volume to standard.
VolumeTypepublic String getVolumeType()
Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the type of
a volume to standard.
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the
type of a volume to standard.
VolumeTypepublic ModifyVolumeRequest withVolumeType(String volumeType)
Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the type of
a volume to standard.
volumeType - Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the
type of a volume to standard.
VolumeTypepublic void setVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the type of
a volume to standard.
volumeType - Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the
type of a volume to standard.
VolumeTypepublic ModifyVolumeRequest withVolumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the type of
a volume to standard.
volumeType - Target EBS volume type of the volume to be modified
Valid values are io1 | gp2 | sc1 | st1
The API does not support modifications for volume type standard. You also cannot change the
type of a volume to standard.
VolumeTypepublic 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.
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.
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.
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.
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.
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.
public Request<ModifyVolumeRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyVolumeRequest>public String toString()
toString in class ObjectObject.toString()public ModifyVolumeRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2017. All rights reserved.