public static interface AttachVolumeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AttachVolumeRequest.Builder,AttachVolumeRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachVolumeRequest.Builder |
device(String device)
The device name (for example,
/dev/sdh or xvdh). |
AttachVolumeRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
AttachVolumeRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
AttachVolumeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachVolumeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AttachVolumeRequest.Builder |
volumeId(String volumeId)
The ID of the EBS volume.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAttachVolumeRequest.Builder device(String device)
The device name (for example, /dev/sdh or xvdh).
device - The device name (for example, /dev/sdh or xvdh).AttachVolumeRequest.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.AttachVolumeRequest.Builder volumeId(String volumeId)
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
volumeId - The ID of the EBS volume. The volume and instance must be within the same Availability Zone.AttachVolumeRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.AttachVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAttachVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.