public static interface ModifyVolumeAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyVolumeAttributeRequest.Builder,ModifyVolumeAttributeRequest>
Modifier and Type | Method and Description |
---|---|
ModifyVolumeAttributeRequest.Builder |
autoEnableIO(AttributeBooleanValue autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.
|
default ModifyVolumeAttributeRequest.Builder |
autoEnableIO(Consumer<AttributeBooleanValue.Builder> autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.
|
ModifyVolumeAttributeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ModifyVolumeAttributeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ModifyVolumeAttributeRequest.Builder |
volumeId(String volumeId)
The ID of the volume.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ModifyVolumeAttributeRequest.Builder autoEnableIO(AttributeBooleanValue 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.default ModifyVolumeAttributeRequest.Builder autoEnableIO(Consumer<AttributeBooleanValue.Builder> autoEnableIO)
Indicates whether the volume should be auto-enabled for I/O operations.
This is a convenience that creates an instance of theAttributeBooleanValue.Builder
avoiding the need
to create one manually via AttributeBooleanValue.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to autoEnableIO(AttributeBooleanValue)
.autoEnableIO
- a consumer that will call methods on AttributeBooleanValue.Builder
autoEnableIO(AttributeBooleanValue)
ModifyVolumeAttributeRequest.Builder volumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.ModifyVolumeAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ModifyVolumeAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.