Interface UnlockSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UnlockSnapshotRequest.Builder,UnlockSnapshotRequest>
,Ec2Request.Builder
,SdkBuilder<UnlockSnapshotRequest.Builder,UnlockSnapshotRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UnlockSnapshotRequest
public static interface UnlockSnapshotRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<UnlockSnapshotRequest.Builder,UnlockSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UnlockSnapshotRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.UnlockSnapshotRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UnlockSnapshotRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
UnlockSnapshotRequest.Builder
snapshotId(String snapshotId)
The ID of the snapshot to unlock.-
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
-
snapshotId
UnlockSnapshotRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot to unlock.
- Parameters:
snapshotId
- The ID of the snapshot to unlock.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
UnlockSnapshotRequest.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
UnlockSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UnlockSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-