Interface CopyClusterSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>
,RedshiftRequest.Builder
,SdkBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CopyClusterSnapshotRequest
public static interface CopyClusterSnapshotRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CopyClusterSnapshotRequest.Builder,CopyClusterSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CopyClusterSnapshotRequest.Builder
manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.CopyClusterSnapshotRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CopyClusterSnapshotRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CopyClusterSnapshotRequest.Builder
sourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source snapshot was created from.CopyClusterSnapshotRequest.Builder
sourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot.CopyClusterSnapshotRequest.Builder
targetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.-
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, sdkFields
-
-
-
-
Method Detail
-
sourceSnapshotIdentifier
CopyClusterSnapshotRequest.Builder sourceSnapshotIdentifier(String sourceSnapshotIdentifier)
The identifier for the source snapshot.
Constraints:
-
Must be the identifier for a valid automated snapshot whose state is
available
.
- Parameters:
sourceSnapshotIdentifier
- The identifier for the source snapshot.Constraints:
-
Must be the identifier for a valid automated snapshot whose state is
available
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
sourceSnapshotClusterIdentifier
CopyClusterSnapshotRequest.Builder sourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)
The identifier of the cluster the source 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 identifier for a valid cluster.
- Parameters:
sourceSnapshotClusterIdentifier
- The identifier of the cluster the source 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 identifier for a valid cluster.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetSnapshotIdentifier
CopyClusterSnapshotRequest.Builder targetSnapshotIdentifier(String targetSnapshotIdentifier)
The identifier given to the new manual snapshot.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for the Amazon Web Services account that is making the request.
- Parameters:
targetSnapshotIdentifier
- The identifier given to the new manual snapshot.Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 alphanumeric characters or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
-
Must be unique for the Amazon Web Services account that is making the request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
manualSnapshotRetentionPeriod
CopyClusterSnapshotRequest.Builder manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.
The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- Parameters:
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.The value must be either -1 or an integer between 1 and 3,653.
The default value is -1.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CopyClusterSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CopyClusterSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-