JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.redshift.model

Class ModifyClusterSnapshotRequest

    • Constructor Detail

      • ModifyClusterSnapshotRequest

        public ModifyClusterSnapshotRequest()
    • Method Detail

      • setSnapshotIdentifier

        public void setSnapshotIdentifier(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.
      • getSnapshotIdentifier

        public String getSnapshotIdentifier()

        The identifier of the snapshot whose setting you want to modify.

        Returns:
        The identifier of the snapshot whose setting you want to modify.
      • withSnapshotIdentifier

        public ModifyClusterSnapshotRequest withSnapshotIdentifier(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.
      • setManualSnapshotRetentionPeriod

        public void setManualSnapshotRetentionPeriod(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.

      • getManualSnapshotRetentionPeriod

        public Integer getManualSnapshotRetentionPeriod()

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

      • withManualSnapshotRetentionPeriod

        public ModifyClusterSnapshotRequest withManualSnapshotRetentionPeriod(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.
      • setForce

        public void setForce(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.
      • getForce

        public Boolean getForce()

        A Boolean option to override an exception if the retention period has already passed.

        Returns:
        A Boolean option to override an exception if the retention period has already passed.
      • withForce

        public ModifyClusterSnapshotRequest withForce(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.
      • isForce

        public Boolean isForce()

        A Boolean option to override an exception if the retention period has already passed.

        Returns:
        A Boolean option to override an exception if the retention period has already passed.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /