Interface BatchModifyClusterSnapshotsRequest.Builder

    • Method Detail

      • 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

        BatchModifyClusterSnapshotsRequest.Builder force​(Boolean 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.