public static interface ModifyVolumeRequest.Builder extends EC2Request.Builder, CopyableBuilder<ModifyVolumeRequest.Builder,ModifyVolumeRequest>
Modifier and Type | Method and Description |
---|---|
ModifyVolumeRequest.Builder |
iops(Integer iops)
Target IOPS rate of the volume to be modified.
|
ModifyVolumeRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ModifyVolumeRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyVolumeRequest.Builder |
size(Integer size)
Target size in GiB of the volume to be modified.
|
ModifyVolumeRequest.Builder |
volumeId(String volumeId)
Sets the value of the VolumeId property for this object.
|
ModifyVolumeRequest.Builder |
volumeType(String volumeType)
Target EBS volume type of the volume to be modified
|
ModifyVolumeRequest.Builder |
volumeType(VolumeType volumeType)
Target EBS volume type of the volume to be modified
|
build
requestOverrideConfig
copy
apply, build
ModifyVolumeRequest.Builder volumeId(String volumeId)
volumeId
- The new value for the VolumeId property for this object.ModifyVolumeRequest.Builder size(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.
ModifyVolumeRequest.Builder volumeType(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
,
VolumeType
ModifyVolumeRequest.Builder volumeType(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
,
VolumeType
ModifyVolumeRequest.Builder iops(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.
ModifyVolumeRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.ModifyVolumeRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.