Class CreateClusterSnapshotRequest

    • Constructor Detail

      • CreateClusterSnapshotRequest

        public CreateClusterSnapshotRequest()
    • Method Detail

      • setSnapshotIdentifier

        public void setSnapshotIdentifier​(String snapshotIdentifier)

        A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

      • getSnapshotIdentifier

        public String getSnapshotIdentifier()

        A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

        Returns:
        A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

      • withSnapshotIdentifier

        public CreateClusterSnapshotRequest withSnapshotIdentifier​(String snapshotIdentifier)

        A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

        Parameters:
        snapshotIdentifier - A unique identifier for the snapshot that you are requesting. This identifier must be unique for all snapshots within the AWS account.

        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

        Example: my-snapshot-id

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

        public void setClusterIdentifier​(String clusterIdentifier)

        The cluster identifier for which you want a snapshot.

        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
      • getClusterIdentifier

        public String getClusterIdentifier()

        The cluster identifier for which you want a snapshot.

        Returns:
        The cluster identifier for which you want a snapshot.
      • withClusterIdentifier

        public CreateClusterSnapshotRequest withClusterIdentifier​(String clusterIdentifier)

        The cluster identifier for which you want a snapshot.

        Parameters:
        clusterIdentifier - The cluster identifier for which you want a snapshot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        A list of tag instances.

        Returns:
        A list of tag instances.
      • setTags

        public void setTags​(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
      • withTags

        public CreateClusterSnapshotRequest withTags​(Collection<Tag> tags)

        A list of tag instances.

        Parameters:
        tags - A list of tag instances.
        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