|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.s3.model.BucketTaggingConfiguration
public class BucketTaggingConfiguration
| Constructor Summary | |
|---|---|
BucketTaggingConfiguration()
Creates a new bucket tagging configuration. |
|
BucketTaggingConfiguration(Collection<TagSet> tagSets)
Creates a new bucket Tagging configuration containing the specified TopicConfigurations. |
|
| Method Summary | |
|---|---|
List<TagSet> |
getAllTagSets()
Gets the list of TagSet objects
contained in this object. |
TagSet |
getTagSet()
Gets the first TagSet object contained in this object. |
TagSet |
getTagSetAtIndex(int index)
Gets the TagSet object at the specified index contained in this object. |
void |
setTagSets(Collection<TagSet> tagSets)
Sets the TagSet. |
String |
toString()
|
BucketTaggingConfiguration |
withTagSets(TagSet... tagSets)
Sets the TagSet
TagSets and returns this object,
enabling additional method calls to be chained together. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BucketTaggingConfiguration()
Creates a new bucket tagging configuration. By default, the newly created configuration is empty.
Passing the new configuration directly to
AmazonS3.setBucketTaggingConfiguration(String,BucketTaggingConfiguration)
will remove any existing bucket tagging configuration.
BucketTaggingConfiguration(Collection)public BucketTaggingConfiguration(Collection<TagSet> tagSets)
Creates a new bucket Tagging configuration containing the specified
TopicConfigurations.
Passing the new configuration directly to
AmazonS3.setBucketTaggingConfiguration(String,BucketTaggingConfiguration)
will set the bucket's Tagging configuration and overwrite any existing configuration.
BucketTaggingConfiguration()| Method Detail |
|---|
public BucketTaggingConfiguration withTagSets(TagSet... tagSets)
Sets the TagSet
TagSets and returns this object,
enabling additional method calls to be chained together.
Calling this method will overwrite any
previously set TagSets for this object.
tagSets - A set of TagSet objects.
BucketTaggingConfiguration object,
enabling additional method calls to be chained together.setTagSets(Collection)public void setTagSets(Collection<TagSet> tagSets)
Sets the TagSet.
Calling this method will overwrite any
previously set TagSets for this object.
tagSets - A collection of TagSet objects.BucketTaggingConfiguration#withTopicConfigurations(TopicConfiguration)public List<TagSet> getAllTagSets()
Gets the list of TagSet objects
contained in this object. This method may return an empty list if no TagSet
objects are present.
TagSet objects contained in this object.
May return an empty list.public TagSet getTagSet()
Gets the first TagSet object contained in this object. This method may return null
list if no TagSet objects are present.
TagSet object contained in the objectpublic TagSet getTagSetAtIndex(int index)
Gets the TagSet object at the specified index contained in this object.
index - The index of the TagSet object to return
TagSet object contained in the objectpublic String toString()
toString in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||