Class TagDescription

    • Constructor Detail

      • TagDescription

        public TagDescription()
    • Method Detail

      • setResourceId

        public void setResourceId​(String resourceId)

        The ID of the resource. For example, ami-1a2b3c4d.

        Parameters:
        resourceId - The ID of the resource. For example, ami-1a2b3c4d.
      • getResourceId

        public String getResourceId()

        The ID of the resource. For example, ami-1a2b3c4d.

        Returns:
        The ID of the resource. For example, ami-1a2b3c4d.
      • withResourceId

        public TagDescription withResourceId​(String resourceId)

        The ID of the resource. For example, ami-1a2b3c4d.

        Parameters:
        resourceId - The ID of the resource. For example, ami-1a2b3c4d.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setResourceType

        public void setResourceType​(String resourceType)

        The resource type.

        Parameters:
        resourceType - The resource type.
        See Also:
        ResourceType
      • getResourceType

        public String getResourceType()

        The resource type.

        Returns:
        The resource type.
        See Also:
        ResourceType
      • withResourceType

        public TagDescription withResourceType​(String resourceType)

        The resource type.

        Parameters:
        resourceType - The resource type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType
      • setResourceType

        public void setResourceType​(ResourceType resourceType)

        The resource type.

        Parameters:
        resourceType - The resource type.
        See Also:
        ResourceType
      • withResourceType

        public TagDescription withResourceType​(ResourceType resourceType)

        The resource type.

        Parameters:
        resourceType - The resource type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType
      • setKey

        public void setKey​(String key)

        The tag key.

        Parameters:
        key - The tag key.
      • getKey

        public String getKey()

        The tag key.

        Returns:
        The tag key.
      • withKey

        public TagDescription withKey​(String key)

        The tag key.

        Parameters:
        key - The tag key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setValue

        public void setValue​(String value)

        The tag value.

        Parameters:
        value - The tag value.
      • getValue

        public String getValue()

        The tag value.

        Returns:
        The tag value.
      • withValue

        public TagDescription withValue​(String value)

        The tag value.

        Parameters:
        value - The tag value.
        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