Interface DeleteClusterSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeleteClusterSnapshotRequest.Builder,,DeleteClusterSnapshotRequest> RedshiftRequest.Builder,SdkBuilder<DeleteClusterSnapshotRequest.Builder,,DeleteClusterSnapshotRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeleteClusterSnapshotRequest
public static interface DeleteClusterSnapshotRequest.Builder
extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<DeleteClusterSnapshotRequest.Builder,DeleteClusterSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotClusterIdentifier(String snapshotClusterIdentifier) The unique identifier of the cluster the snapshot was created from.snapshotIdentifier(String snapshotIdentifier) The unique identifier of the manual snapshot to be deleted.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.redshift.model.RedshiftRequest.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
-
snapshotIdentifier
The unique identifier of the manual snapshot to be deleted.
Constraints: Must be the name of an existing snapshot that is in the
available,failed, orcancelledstate.- Parameters:
snapshotIdentifier- The unique identifier of the manual snapshot to be deleted.Constraints: Must be the name of an existing snapshot that is in the
available,failed, orcancelledstate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotClusterIdentifier
The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
Constraints: Must be the name of valid cluster.
- Parameters:
snapshotClusterIdentifier- The unique identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.Constraints: Must be the name of valid cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteClusterSnapshotRequest.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
DeleteClusterSnapshotRequest.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.
-