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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tags.Builderitems(Collection<Tag> items)A complex type that containsTagelements.Tags.Builderitems(Consumer<Tag.Builder>... items)A complex type that containsTagelements.Tags.Builderitems(Tag... items)A complex type that containsTagelements.-
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
-
items
Tags.Builder items(Collection<Tag> 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
Tags.Builder items(Tag... 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
Tags.Builder items(Consumer<Tag.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
-