Interface CreateSnapshotCopyConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSnapshotCopyConfigurationRequest.Builder,,CreateSnapshotCopyConfigurationRequest> RedshiftServerlessRequest.Builder,SdkBuilder<CreateSnapshotCopyConfigurationRequest.Builder,,CreateSnapshotCopyConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateSnapshotCopyConfigurationRequest
public static interface CreateSnapshotCopyConfigurationRequest.Builder
extends RedshiftServerlessRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotCopyConfigurationRequest.Builder,CreateSnapshotCopyConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationKmsKeyId(String destinationKmsKeyId) The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.destinationRegion(String destinationRegion) The destination Amazon Web Services Region that you want to copy snapshots to.namespaceName(String namespaceName) The name of the namespace to copy snapshots from.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotRetentionPeriod(Integer snapshotRetentionPeriod) The retention period of the snapshots that you copy to the destination Amazon Web Services Region.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, sdkFields
-
Method Details
-
destinationKmsKeyId
The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.
- Parameters:
destinationKmsKeyId- The KMS key to use to encrypt your snapshots in the destination Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationRegion
The destination Amazon Web Services Region that you want to copy snapshots to.
- Parameters:
destinationRegion- The destination Amazon Web Services Region that you want to copy snapshots to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceName
The name of the namespace to copy snapshots from.
- Parameters:
namespaceName- The name of the namespace to copy snapshots from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotRetentionPeriod
CreateSnapshotCopyConfigurationRequest.Builder snapshotRetentionPeriod(Integer snapshotRetentionPeriod) The retention period of the snapshots that you copy to the destination Amazon Web Services Region.
- Parameters:
snapshotRetentionPeriod- The retention period of the snapshots that you copy to the destination Amazon Web Services Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSnapshotCopyConfigurationRequest.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
CreateSnapshotCopyConfigurationRequest.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.
-