public static interface BatchModifyClusterSnapshotsRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<BatchModifyClusterSnapshotsRequest.Builder,BatchModifyClusterSnapshotsRequest>
Modifier and Type | Method and 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(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
BatchModifyClusterSnapshotsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
BatchModifyClusterSnapshotsRequest.Builder |
snapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
|
BatchModifyClusterSnapshotsRequest.Builder |
snapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
|
build
overrideConfiguration
copy
applyMutation, build
BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(Collection<String> snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(String... snapshotIdentifierList)
A list of snapshot identifiers you want to modify.
snapshotIdentifierList
- A list of snapshot identifiers you want to modify.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.
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.
BatchModifyClusterSnapshotsRequest.Builder force(Boolean force)
A boolean value indicating whether to override an exception if the retention period has passed.
force
- A boolean value indicating whether to override an exception if the retention period has passed.BatchModifyClusterSnapshotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.BatchModifyClusterSnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.