Interface Tagging.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Tagging.Builder,Tagging>,SdkBuilder<Tagging.Builder,Tagging>,SdkPojo
- Enclosing class:
- Tagging
@Mutable @NotThreadSafe public static interface Tagging.Builder extends SdkPojo, CopyableBuilder<Tagging.Builder,Tagging>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tagging.BuildertagSet(Collection<Tag> tagSet)A collection for a set of tagsTagging.BuildertagSet(Consumer<Tag.Builder>... tagSet)A collection for a set of tagsTagging.BuildertagSet(Tag... tagSet)A collection for a set of tags-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
tagSet
Tagging.Builder tagSet(Collection<Tag> tagSet)
A collection for a set of tags
- Parameters:
tagSet- A collection for a set of tags- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSet
Tagging.Builder tagSet(Tag... tagSet)
A collection for a set of tags
- Parameters:
tagSet- A collection for a set of tags- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSet
Tagging.Builder tagSet(Consumer<Tag.Builder>... tagSet)
A collection for a set of tags
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagSet(List.) - Parameters:
tagSet- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSet(java.util.Collection)
-
-