Interface GetSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetSnapshotRequest.Builder,,GetSnapshotRequest> RedshiftServerlessRequest.Builder,SdkBuilder<GetSnapshotRequest.Builder,,GetSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetSnapshotRequest
@Mutable
@NotThreadSafe
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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessRequest.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
-
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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-