Interface GetSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetSnapshotRequest.Builder,
,GetSnapshotRequest> RedshiftServerlessRequest.Builder
,SdkBuilder<GetSnapshotRequest.Builder,
,GetSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetSnapshotRequest
public static interface GetSnapshotRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<GetSnapshotRequest.Builder,GetSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.ownerAccount
(String ownerAccount) The owner Amazon Web Services account of a snapshot shared with another user.snapshotArn
(String snapshotArn) The Amazon Resource Name (ARN) of the snapshot to return.snapshotName
(String snapshotName) The name of the snapshot to return.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.redshiftserverless.model.RedshiftServerlessRequest.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 Details
-
ownerAccount
The owner Amazon Web Services account of a snapshot shared with another user.
- Parameters:
ownerAccount
- The owner Amazon Web Services account of a snapshot shared with another user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotArn
The Amazon Resource Name (ARN) of the snapshot to return.
- Parameters:
snapshotArn
- The Amazon Resource Name (ARN) of the snapshot to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotName
The name of the snapshot to return.
- Parameters:
snapshotName
- The name of the snapshot to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-