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 Details

    • 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

      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)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.