Interface BatchModifyClusterSnapshotsRequest.Builder

  • Method Details

    • snapshotIdentifierList

      BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(Collection<String> snapshotIdentifierList)

      A list of snapshot identifiers you want to modify.

      Parameters:
      snapshotIdentifierList - A list of snapshot identifiers you want to modify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotIdentifierList

      BatchModifyClusterSnapshotsRequest.Builder snapshotIdentifierList(String... snapshotIdentifierList)

      A list of snapshot identifiers you want to modify.

      Parameters:
      snapshotIdentifierList - A list of snapshot identifiers you want to modify.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • manualSnapshotRetentionPeriod

      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.

      Parameters:
      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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • force

      A boolean value indicating whether to override an exception if the retention period has passed.

      Parameters:
      force - A boolean value indicating whether to override an exception if the retention period has passed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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.