Interface ModifyVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ModifyVolumeRequest.Builder,,ModifyVolumeRequest> SdkBuilder<ModifyVolumeRequest.Builder,,ModifyVolumeRequest> SdkPojo,SdkRequest.Builder,WorkspacesInstancesRequest.Builder
- Enclosing class:
ModifyVolumeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.Specifies the target IOPS rate of the volume.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the target size of the volume, in GiB.throughput(Integer throughput) Specifies the target throughput of the volume, in MiB/s.Specifies the identifier of the volume to modify.volumeType(String volumeType) Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type.volumeType(VolumeTypeEnum volumeType) Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workspacesinstances.model.WorkspacesInstancesRequest.Builder
build
-
Method Details
-
volumeId
Specifies the identifier of the volume to modify.
- Parameters:
volumeId- Specifies the identifier of the volume to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeInGB
Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.
- Parameters:
sizeInGB- Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the current size of the volume. If you don't specify a size, the current size is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.
- Parameters:
volumeType- Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
volumeType
Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.
- Parameters:
volumeType- Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume type, the current volume type is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
iops
Specifies the target IOPS rate of the volume. This parameter is valid only for
gp3,io1, andio2volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.- Parameters:
iops- Specifies the target IOPS rate of the volume. This parameter is valid only forgp3,io1, andio2volumes. If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughput
Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for
gp3volumes. If you don't specify throughput and the volume remainsgp3, the current throughput is retained.- Parameters:
throughput- Specifies the target throughput of the volume, in MiB/s. This parameter is valid only forgp3volumes. If you don't specify throughput and the volume remainsgp3, the current throughput is retained.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.
- Parameters:
clientToken- Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ModifyVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-