Class AddTagsToResourceResult

    • Constructor Detail

      • AddTagsToResourceResult

        public AddTagsToResourceResult()
    • Method Detail

      • getTagList

        public List<Tag> getTagList()

        A list of cost allocation tags as key-value pairs.

        Returns:
        A list of cost allocation tags as key-value pairs.
      • setTagList

        public void setTagList​(Collection<Tag> tagList)

        A list of cost allocation tags as key-value pairs.

        Parameters:
        tagList - A list of cost allocation tags as key-value pairs.
      • withTagList

        public AddTagsToResourceResult withTagList​(Tag... tagList)

        A list of cost allocation tags as key-value pairs.

        NOTE: This method appends the values to the existing list (if any). Use setTagList(java.util.Collection) or withTagList(java.util.Collection) if you want to override the existing values.

        Parameters:
        tagList - A list of cost allocation tags as key-value pairs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTagList

        public AddTagsToResourceResult withTagList​(Collection<Tag> tagList)

        A list of cost allocation tags as key-value pairs.

        Parameters:
        tagList - A list of cost allocation tags as key-value pairs.
        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