Class BucketTaggingConfiguration
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new bucket tagging configuration.BucketTaggingConfiguration(Collection<TagSet> tagSets) Creates a new bucket Tagging configuration containing the specifiedTopicConfigurations. -
Method Summary
Modifier and TypeMethodDescriptionGets the list ofTagSetobjects contained in this object.Gets the firstTagSetobject contained in this object.getTagSetAtIndex(int index) Gets theTagSetobject at the specified index contained in this object.voidsetTagSets(Collection<TagSet> tagSets) Sets theTagSet.toString()withTagSets(TagSet... tagSets) Sets theTagSetTagSetsand returns this object, enabling additional method calls to be chained together.
-
Constructor Details
-
BucketTaggingConfiguration
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.- See Also:
-
BucketTaggingConfiguration
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.- See Also:
-
-
Method Details
-
withTagSets
Sets the
TagSetTagSetsand returns this object, enabling additional method calls to be chained together.Calling this method will overwrite any previously set
TagSetsfor this object.- Parameters:
tagSets- A set of TagSet objects.- Returns:
- The updated
BucketTaggingConfigurationobject, enabling additional method calls to be chained together. - See Also:
-
setTagSets
Sets the
TagSet.Calling this method will overwrite any previously set
TagSetsfor this object.- Parameters:
tagSets- A collection of TagSet objects.- See Also:
-
getAllTagSets
-
getTagSet
-
getTagSetAtIndex
-
toString
-