Interface ModifyClusterSnapshotRequest.Builder

    • 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.