Interface DeleteClusterSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteClusterSnapshotRequest.Builder,
,DeleteClusterSnapshotRequest> RedshiftRequest.Builder
,SdkBuilder<DeleteClusterSnapshotRequest.Builder,
,DeleteClusterSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteClusterSnapshotRequest
@Mutable
@NotThreadSafe
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.redshift.model.RedshiftRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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
, orcancelled
state.- 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
, orcancelled
state.- 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.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
DeleteClusterSnapshotRequest.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.
-