Class CopyDBClusterSnapshotRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.rds.model.CopyDBClusterSnapshotRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class CopyDBClusterSnapshotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

See Also:
  • Constructor Details

    • CopyDBClusterSnapshotRequest

      public CopyDBClusterSnapshotRequest()
  • Method Details

    • setSourceDBClusterSnapshotIdentifier

      public void setSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)

      The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

      Parameters:
      sourceDBClusterSnapshotIdentifier - The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

    • getSourceDBClusterSnapshotIdentifier

      public String getSourceDBClusterSnapshotIdentifier()

      The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

      Returns:
      The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

    • withSourceDBClusterSnapshotIdentifier

      public CopyDBClusterSnapshotRequest withSourceDBClusterSnapshotIdentifier(String sourceDBClusterSnapshotIdentifier)

      The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

      Parameters:
      sourceDBClusterSnapshotIdentifier - The identifier of the DB cluster snapshot to copy. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot1

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

      public void setTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)

      The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

      Parameters:
      targetDBClusterSnapshotIdentifier - The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

    • getTargetDBClusterSnapshotIdentifier

      public String getTargetDBClusterSnapshotIdentifier()

      The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

      Returns:
      The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

    • withTargetDBClusterSnapshotIdentifier

      public CopyDBClusterSnapshotRequest withTargetDBClusterSnapshotIdentifier(String targetDBClusterSnapshotIdentifier)

      The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

      Parameters:
      targetDBClusterSnapshotIdentifier - The identifier of the new DB cluster snapshot to create from the source DB cluster snapshot. This parameter is not case-sensitive.

      Constraints:

      • Must contain from 1 to 63 alphanumeric characters or hyphens.
      • First character must be a letter.
      • Cannot end with a hyphen or contain two consecutive hyphens.

      Example: my-cluster-snapshot2

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

      public List<Tag> getTags()
      Returns:
    • setTags

      public void setTags(Collection<Tag> tags)
      Parameters:
      tags -
    • withTags

      public CopyDBClusterSnapshotRequest withTags(Tag... tags)

      NOTE: This method appends the values to the existing list (if any). Use setTags(java.util.Collection) or withTags(java.util.Collection) if you want to override the existing values.

      Parameters:
      tags -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withTags

      public CopyDBClusterSnapshotRequest withTags(Collection<Tag> tags)
      Parameters:
      tags -
      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; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: