public class ListTagsForVaultResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
ListTagsForVaultResult() |
Modifier and Type | Method and Description |
---|---|
ListTagsForVaultResult |
addTagsEntry(String key,
String value)
The tags attached to the vault.
|
ListTagsForVaultResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
ListTagsForVaultResult |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getTags()
The tags attached to the vault.
|
int |
hashCode() |
void |
setTags(Map<String,String> tags)
The tags attached to the vault.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForVaultResult |
withTags(Map<String,String> tags)
The tags attached to the vault.
|
public Map<String,String> getTags()
public void setTags(Map<String,String> tags)
tags
- The tags attached to the vault. Each tag is composed of a key and a
value.public ListTagsForVaultResult withTags(Map<String,String> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The tags attached to the vault. Each tag is composed of a key and a
value.public ListTagsForVaultResult addTagsEntry(String key, String value)
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key
- The key of the entry to be added into Tags.value
- The corresponding value of the entry to be added into Tags.public ListTagsForVaultResult clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public String toString()
toString
in class Object
Object.toString()
public ListTagsForVaultResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.