Interface Tags.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Tags.Builder,,Tags> SdkBuilder<Tags.Builder,,Tags> SdkPojo
- Enclosing class:
- Tags
@Mutable
@NotThreadSafe
public static interface Tags.Builder
extends SdkPojo, CopyableBuilder<Tags.Builder,Tags>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<Tag> items) A complex type that containsTagelements.items(Consumer<Tag.Builder>... items) A complex type that containsTagelements.A complex type that containsTagelements.Methods 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
-
items
A complex type that contains
Tagelements.- Parameters:
items- A complex type that containsTagelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A complex type that contains
Tagelements.- Parameters:
items- A complex type that containsTagelements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A complex type that contains
This is a convenience method that creates an instance of theTagelements.Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<Tag>).- Parameters:
items- 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:
-