Class ResourceTagSet

    • Constructor Detail

      • ResourceTagSet

        public ResourceTagSet()
    • Method Detail

      • setResourceType

        public void setResourceType​(String resourceType)

        The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        See Also:
        TagResourceType
      • getResourceType

        public String getResourceType()

        The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Returns:
        The type of the resource.

        - The resource type for health checks is healthcheck .

        - The resource type for hosted zones is hostedzone.

        See Also:
        TagResourceType
      • withResourceType

        public ResourceTagSet withResourceType​(String resourceType)

        The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagResourceType
      • setResourceType

        public void setResourceType​(TagResourceType resourceType)

        The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        See Also:
        TagResourceType
      • withResourceType

        public ResourceTagSet withResourceType​(TagResourceType resourceType)

        The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Parameters:
        resourceType - The type of the resource.

        - The resource type for health checks is healthcheck.

        - The resource type for hosted zones is hostedzone.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TagResourceType
      • setResourceId

        public void setResourceId​(String resourceId)

        The ID for the specified resource.

        Parameters:
        resourceId - The ID for the specified resource.
      • getResourceId

        public String getResourceId()

        The ID for the specified resource.

        Returns:
        The ID for the specified resource.
      • withResourceId

        public ResourceTagSet withResourceId​(String resourceId)

        The ID for the specified resource.

        Parameters:
        resourceId - The ID for the specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getTags

        public List<Tag> getTags()

        The tags associated with the specified resource.

        Returns:
        The tags associated with the specified resource.
      • setTags

        public void setTags​(Collection<Tag> tags)

        The tags associated with the specified resource.

        Parameters:
        tags - The tags associated with the specified resource.
      • withTags

        public ResourceTagSet withTags​(Tag... tags)

        The tags associated with the specified resource.

        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 associated with the specified resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTags

        public ResourceTagSet withTags​(Collection<Tag> tags)

        The tags associated with the specified resource.

        Parameters:
        tags - The tags associated with the specified resource.
        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