Interface AttachVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AttachVolumeRequest.Builder,,AttachVolumeRequest> Ec2Request.Builder,SdkBuilder<AttachVolumeRequest.Builder,,AttachVolumeRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- AttachVolumeRequest
@Mutable
@NotThreadSafe
public static interface AttachVolumeRequest.Builder
extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AttachVolumeRequest.Builder,AttachVolumeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe device name (for example,/dev/sdhorxvdh).Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ebsCardIndex(Integer ebsCardIndex) The index of the EBS card.instanceId(String instanceId) The ID of the instance.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) The ID of the EBS volume.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.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
device
The device name (for example,
/dev/sdhorxvdh).- Parameters:
device- The device name (for example,/dev/sdhorxvdh).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The ID of the instance.
- Parameters:
instanceId- The ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The ID of the EBS volume. The volume and instance must be within the same Availability Zone.
- Parameters:
volumeId- The ID of the EBS volume. The volume and instance must be within the same Availability Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ebsCardIndex
The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.
- Parameters:
ebsCardIndex- The index of the EBS card. Some instance types support multiple EBS cards. The default EBS card index is 0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 isUnauthorizedOperation.- Parameters:
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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AttachVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AttachVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-