Interface Tagging.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Tagging.Builder,
,Tagging> SdkBuilder<Tagging.Builder,
,Tagging> SdkPojo
- Enclosing class:
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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:
-