Interface ModifyClusterSnapshotRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>
,RedshiftRequest.Builder
,SdkBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ModifyClusterSnapshotRequest
public static interface ModifyClusterSnapshotRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<ModifyClusterSnapshotRequest.Builder,ModifyClusterSnapshotRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ModifyClusterSnapshotRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ModifyClusterSnapshotRequest.Builder
snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting 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, sdkFields
-
-
-
-
Method Detail
-
snapshotIdentifier
ModifyClusterSnapshotRequest.Builder snapshotIdentifier(String snapshotIdentifier)
The identifier of the snapshot whose setting you want to modify.
- Parameters:
snapshotIdentifier
- The identifier of the snapshot whose setting you want to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manualSnapshotRetentionPeriod
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
force
ModifyClusterSnapshotRequest.Builder force(Boolean force)
A Boolean option to override an exception if the retention period has already passed.
- Parameters:
force
- A Boolean option to override an exception if the retention period has already passed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyClusterSnapshotRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyClusterSnapshotRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-