Class CreateDBClusterSnapshotRequest

    • Constructor Detail

      • CreateDBClusterSnapshotRequest

        public CreateDBClusterSnapshotRequest()
    • Method Detail

      • setDBClusterSnapshotIdentifier

        public void setDBClusterSnapshotIdentifier​(String dBClusterSnapshotIdentifier)

        The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

        Parameters:
        dBClusterSnapshotIdentifier - The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

      • getDBClusterSnapshotIdentifier

        public String getDBClusterSnapshotIdentifier()

        The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

        Returns:
        The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

      • withDBClusterSnapshotIdentifier

        public CreateDBClusterSnapshotRequest withDBClusterSnapshotIdentifier​(String dBClusterSnapshotIdentifier)

        The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

        Parameters:
        dBClusterSnapshotIdentifier - The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

        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-cluster1-snapshot1

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

        public void setDBClusterIdentifier​(String dBClusterIdentifier)

        The identifier of the DB cluster to create a snapshot for. 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-cluster1

        Parameters:
        dBClusterIdentifier - The identifier of the DB cluster to create a snapshot for. 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-cluster1

      • getDBClusterIdentifier

        public String getDBClusterIdentifier()

        The identifier of the DB cluster to create a snapshot for. 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-cluster1

        Returns:
        The identifier of the DB cluster to create a snapshot for. 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-cluster1

      • withDBClusterIdentifier

        public CreateDBClusterSnapshotRequest withDBClusterIdentifier​(String dBClusterIdentifier)

        The identifier of the DB cluster to create a snapshot for. 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-cluster1

        Parameters:
        dBClusterIdentifier - The identifier of the DB cluster to create a snapshot for. 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-cluster1

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

        public List<Tag> getTags()

        The tags to be assigned to the DB cluster snapshot.

        Returns:
        The tags to be assigned to the DB cluster snapshot.
      • setTags

        public void setTags​(Collection<Tag> tags)

        The tags to be assigned to the DB cluster snapshot.

        Parameters:
        tags - The tags to be assigned to the DB cluster snapshot.
      • withTags

        public CreateDBClusterSnapshotRequest withTags​(Tag... tags)

        The tags to be assigned to the DB cluster snapshot.

        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 - The tags to be assigned to the DB cluster snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public CreateDBClusterSnapshotRequest withTags​(Collection<Tag> tags)

        The tags to be assigned to the DB cluster snapshot.

        Parameters:
        tags - The tags to be assigned to the DB cluster snapshot.
        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object