|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.s3.model.TagSet
public class TagSet
| Constructor Summary | |
|---|---|
TagSet()
Creates a new empty TagSet. |
|
TagSet(Map<String,String> tags)
Creates a new TagSet with the set of tags defined. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getAllTags()
Get all the tags for this TagSet |
String |
getTag(String key)
Get the value of the tag with the given key. |
void |
setTag(String key,
String value)
Sets the value of the tag for a given key. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TagSet()
Creates a new empty TagSet.
TagSet(Map)public TagSet(Map<String,String> tags)
Creates a new TagSet with the set of tags defined.
tags - A key/value mapping of tags to store in this TagSet| Method Detail |
|---|
public String getTag(String key)
Get the value of the tag with the given key.
key - The key of the tag to return
public void setTag(String key,
String value)
Sets the value of the tag for a given key. Will overwrite existing value.
key - The key for the tagvalue - The value for the tagpublic Map<String,String> getAllTags()
Get all the tags for this TagSet
public String toString()
toString in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||