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 BatchModifyClusterSnapshotsRequest

    • Constructor Detail

      • BatchModifyClusterSnapshotsRequest

        public BatchModifyClusterSnapshotsRequest()
    • Method Detail

      • getSnapshotIdentifierList

        public List<String> getSnapshotIdentifierList()

        A list of snapshot identifiers you want to modify.

        Returns:
        A list of snapshot identifiers you want to modify.
      • setSnapshotIdentifierList

        public void setSnapshotIdentifierList(Collection<String> snapshotIdentifierList)

        A list of snapshot identifiers you want to modify.

        Parameters:
        snapshotIdentifierList - A list of snapshot identifiers you want to modify.
      • withSnapshotIdentifierList

        public BatchModifyClusterSnapshotsRequest withSnapshotIdentifierList(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.
      • setManualSnapshotRetentionPeriod

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

      • getManualSnapshotRetentionPeriod

        public Integer getManualSnapshotRetentionPeriod()

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

      • withManualSnapshotRetentionPeriod

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

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

        public Boolean getForce()

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

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

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

        public Boolean isForce()

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

        Returns:
        A boolean value indicating whether to override an exception if the retention period has 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 によって変換されたページ (->オリジナル) /