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 CopyClusterSnapshotRequest

    • Constructor Detail

      • CopyClusterSnapshotRequest

        public CopyClusterSnapshotRequest()
    • Method Detail

      • setSourceSnapshotIdentifier

        public void setSourceSnapshotIdentifier(String sourceSnapshotIdentifier)

        The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

        Parameters:
        sourceSnapshotIdentifier - The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

      • getSourceSnapshotIdentifier

        public String getSourceSnapshotIdentifier()

        The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

        Returns:
        The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

      • withSourceSnapshotIdentifier

        public CopyClusterSnapshotRequest withSourceSnapshotIdentifier(String sourceSnapshotIdentifier)

        The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

        Parameters:
        sourceSnapshotIdentifier - The identifier for the source snapshot.

        Constraints:

        • Must be the identifier for a valid automated snapshot whose state is available.

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

        public void setSourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)

        The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

        Parameters:
        sourceSnapshotClusterIdentifier - The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

      • getSourceSnapshotClusterIdentifier

        public String getSourceSnapshotClusterIdentifier()

        The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

        Returns:
        The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

      • withSourceSnapshotClusterIdentifier

        public CopyClusterSnapshotRequest withSourceSnapshotClusterIdentifier(String sourceSnapshotClusterIdentifier)

        The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

        Parameters:
        sourceSnapshotClusterIdentifier - The identifier of the cluster the source snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.

        Constraints:

        • Must be the identifier for a valid cluster.

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

        public void setTargetSnapshotIdentifier(String targetSnapshotIdentifier)

        The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

        Parameters:
        targetSnapshotIdentifier - The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

      • getTargetSnapshotIdentifier

        public String getTargetSnapshotIdentifier()

        The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

        Returns:
        The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

      • withTargetSnapshotIdentifier

        public CopyClusterSnapshotRequest withTargetSnapshotIdentifier(String targetSnapshotIdentifier)

        The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

        Parameters:
        targetSnapshotIdentifier - The identifier given to the new manual snapshot.

        Constraints:

        • Cannot be null, empty, or blank.

        • Must contain from 1 to 255 alphanumeric characters or hyphens.

        • First character must be a letter.

        • Cannot end with a hyphen or contain two consecutive hyphens.

        • Must be unique for the Amazon Web Services account that is making the request.

        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.

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

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

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

        Returns:
        The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

      • withManualSnapshotRetentionPeriod

        public CopyClusterSnapshotRequest withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)

        The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

        Parameters:
        manualSnapshotRetentionPeriod - The number of days that a manual snapshot is retained. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        The default value is -1.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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 によって変換されたページ (->オリジナル) /