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
Modifier and TypeMethodDescriptiontagSet(Collection<Tag> tagSet) A collection for a set of tagstagSet(Consumer<Tag.Builder>... tagSet) A collection for a set of tagsA collection for a set of tagsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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 totagSet(List<Tag>).- 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:
-