Interface DescribeSnapshotAttributeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
,Ec2Request.Builder
,SdkBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DescribeSnapshotAttributeRequest
public static interface DescribeSnapshotAttributeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotAttributeRequest.Builder,DescribeSnapshotAttributeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeSnapshotAttributeRequest.Builder
attribute(String attribute)
The snapshot attribute you would like to view.DescribeSnapshotAttributeRequest.Builder
attribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view.DescribeSnapshotAttributeRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.DescribeSnapshotAttributeRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DescribeSnapshotAttributeRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DescribeSnapshotAttributeRequest.Builder
snapshotId(String snapshotId)
The ID of the EBS snapshot.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
attribute
DescribeSnapshotAttributeRequest.Builder attribute(String attribute)
The snapshot attribute you would like to view.
- Parameters:
attribute
- The snapshot attribute you would like to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotAttributeName
,SnapshotAttributeName
-
attribute
DescribeSnapshotAttributeRequest.Builder attribute(SnapshotAttributeName attribute)
The snapshot attribute you would like to view.
- Parameters:
attribute
- The snapshot attribute you would like to view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SnapshotAttributeName
,SnapshotAttributeName
-
snapshotId
DescribeSnapshotAttributeRequest.Builder snapshotId(String snapshotId)
The ID of the EBS snapshot.
- Parameters:
snapshotId
- The ID of the EBS snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
DescribeSnapshotAttributeRequest.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 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
DescribeSnapshotAttributeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeSnapshotAttributeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-