Interface BatchModifyClusterSnapshotsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchModifyClusterSnapshotsRequest.Builder,BatchModifyClusterSnapshotsRequest>
,RedshiftRequest.Builder
,SdkBuilder<BatchModifyClusterSnapshotsRequest.Builder,BatchModifyClusterSnapshotsRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- BatchModifyClusterSnapshotsRequest
public static interface BatchModifyClusterSnapshotsRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<BatchModifyClusterSnapshotsRequest.Builder,BatchModifyClusterSnapshotsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchModifyClusterSnapshotsRequest.Builder
force(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.BatchModifyClusterSnapshotsRequest.Builder
manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.BatchModifyClusterSnapshotsRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
BatchModifyClusterSnapshotsRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
BatchModifyClusterSnapshotsRequest.Builder
snapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers you want to modify.BatchModifyClusterSnapshotsRequest.Builder
snapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.-
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 Detail
-
snapshotIdentifierList
BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
- Parameters:
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotIdentifierList
BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
- Parameters:
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manualSnapshotRetentionPeriod
BatchModifyClusterSnapshotsRequest.Builder manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.
The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
- Parameters:
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If you specify the value -1, the manual snapshot is retained indefinitely.The number must be either -1 or an integer between 1 and 3,653.
If you decrease the manual snapshot retention period from its current value, existing manual snapshots that fall outside of the new retention period will return an error. If you want to suppress the errors and delete the snapshots, use the force option.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
BatchModifyClusterSnapshotsRequest.Builder force(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
- Parameters:
force
- A boolean value indicating whether to override an exception if the retention period has passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
BatchModifyClusterSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
BatchModifyClusterSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-