Class ListTagsForVaultResult

java.lang.Object
com.amazonaws.services.glacier.model.ListTagsForVaultResult
All Implemented Interfaces:
Serializable, Cloneable

public class ListTagsForVaultResult extends Object implements Serializable, Cloneable

Contains the Amazon Glacier response to your request.

See Also:
  • Constructor Details

    • ListTagsForVaultResult

      public ListTagsForVaultResult()
  • Method Details

    • getTags

      public Map<String,String> getTags()

      The tags attached to the vault. Each tag is composed of a key and a value.

      Returns:
      The tags attached to the vault. Each tag is composed of a key and a value.
    • setTags

      public void setTags(Map<String,String> tags)

      The tags attached to the vault. Each tag is composed of a key and a value.

      Parameters:
      tags - The tags attached to the vault. Each tag is composed of a key and a value.
    • withTags

      public ListTagsForVaultResult withTags(Map<String,String> tags)

      The tags attached to the vault. Each tag is composed of a key and a value.

      Parameters:
      tags - The tags attached to the vault. Each tag is composed of a key and a value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addTagsEntry

      public ListTagsForVaultResult addTagsEntry(String key, String value)
    • clearTagsEntries

      public ListTagsForVaultResult clearTagsEntries()
      Removes all the entries added into Tags. <p> 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ListTagsForVaultResult clone()
      Overrides:
      clone in class Object