Interface TaggedResource.Builder

    • Method Detail

      • tag

        TaggedResource.Builder tag​(Tag tag)

        The tag for the resource.

        Parameters:
        tag - The tag for the resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceName

        TaggedResource.Builder resourceName​(String resourceName)

        The Amazon Resource Name (ARN) with which the tag is associated, for example: arn:aws:redshift:us-east-2:123456789:cluster:t1.

        Parameters:
        resourceName - The Amazon Resource Name (ARN) with which the tag is associated, for example: arn:aws:redshift:us-east-2:123456789:cluster:t1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        TaggedResource.Builder resourceType​(String resourceType)

        The type of resource with which the tag is associated. Valid resource types are:

        • Cluster

        • CIDR/IP

        • EC2 security group

        • Snapshot

        • Cluster security group

        • Subnet group

        • HSM connection

        • HSM certificate

        • Parameter group

        For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.

        Parameters:
        resourceType - The type of resource with which the tag is associated. Valid resource types are:

        • Cluster

        • CIDR/IP

        • EC2 security group

        • Snapshot

        • Cluster security group

        • Subnet group

        • HSM connection

        • HSM certificate

        • Parameter group

        For more information about Amazon Redshift resource types and constructing ARNs, go to Constructing an Amazon Redshift Amazon Resource Name (ARN) in the Amazon Redshift Cluster Management Guide.

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