Interface RetentionOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RetentionOptions.Builder,,RetentionOptions> SdkBuilder<RetentionOptions.Builder,,RetentionOptions> SdkPojo
- Enclosing class:
RetentionOptions
@Mutable
@NotThreadSafe
public static interface RetentionOptions.Builder
extends SdkPojo, CopyableBuilder<RetentionOptions.Builder,RetentionOptions>
-
Method Summary
Modifier and TypeMethodDescriptionretentionAction(String retentionAction) Ends the retention period now.retentionAction(RetentionAction retentionAction) Ends the retention period now.retentionInHours(Integer retentionInHours) The number of hours to keep the cluster that you cut over from.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
retentionInHours
The number of hours to keep the cluster that you cut over from. The retention period starts when cutover completes. The minimum is 1 hour. In an
UpdateCloneresponse after cutover completes, this value is the number of hours remaining in the retention period, rounded up.- Parameters:
retentionInHours- The number of hours to keep the cluster that you cut over from. The retention period starts when cutover completes. The minimum is 1 hour. In anUpdateCloneresponse after cutover completes, this value is the number of hours remaining in the retention period, rounded up.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionAction
Ends the retention period now. Valid only after cutover completes.
- Parameters:
retentionAction- Ends the retention period now. Valid only after cutover completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
retentionAction
Ends the retention period now. Valid only after cutover completes.
- Parameters:
retentionAction- Ends the retention period now. Valid only after cutover completes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-