Interface TagDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TagDescription.Builder,TagDescription>,SdkBuilder<TagDescription.Builder,TagDescription>,SdkPojo
- Enclosing class:
- TagDescription
public static interface TagDescription.Builder extends SdkPojo, CopyableBuilder<TagDescription.Builder,TagDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagDescription.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource.TagDescription.Buildertags(Collection<Tag> tags)Information about the tags.TagDescription.Buildertags(Consumer<Tag.Builder>... tags)Information about the tags.TagDescription.Buildertags(Tag... tags)Information about the 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, sdkFields
-
-
-
-
Method Detail
-
resourceArn
TagDescription.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagDescription.Builder tags(Collection<Tag> tags)
Information about the tags.
- Parameters:
tags- Information about the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagDescription.Builder tags(Tag... tags)
Information about the tags.
- Parameters:
tags- Information about the tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagDescription.Builder tags(Consumer<Tag.Builder>... tags)
Information about the 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#tags(List.) - Parameters:
tags- 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:
#tags(java.util.Collection)
-
-