public static interface ModifyClusterSnapshotRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>
Modifier and Type | Method and Description |
---|---|
ModifyClusterSnapshotRequest.Builder |
force(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
|
ModifyClusterSnapshotRequest.Builder |
manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that a manual snapshot is retained.
|
ModifyClusterSnapshotRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ModifyClusterSnapshotRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
ModifyClusterSnapshotRequest.Builder |
snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
|
build
overrideConfiguration
copy
applyMutation, build
ModifyClusterSnapshotRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
snapshotIdentifier
- The identifier of the snapshot whose setting you want to modify.ModifyClusterSnapshotRequest.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.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
manualSnapshotRetentionPeriod
- The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is
retained indefinitely.
If the manual snapshot falls outside of the new retention period, you can specify the force option to immediately delete the snapshot.
The value must be either -1 or an integer between 1 and 3,653.
ModifyClusterSnapshotRequest.Builder force(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
force
- A Boolean option to override an exception if the retention period has already passed.ModifyClusterSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ModifyClusterSnapshotRequest.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.