Interface TagInfoForResource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TagInfoForResource.Builder,
,TagInfoForResource> SdkBuilder<TagInfoForResource.Builder,
,TagInfoForResource> SdkPojo
- Enclosing class:
TagInfoForResource
public static interface TagInfoForResource.Builder
extends SdkPojo, CopyableBuilder<TagInfoForResource.Builder,TagInfoForResource>
-
Method Summary
Modifier and TypeMethodDescriptionresourceARN
(String resourceARN) tagList
(Collection<Tag> tagList) tagList
(Consumer<Tag.Builder>... tagList) This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.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 Details
-
resourceARN
- Parameters:
resourceARN
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
- Parameters:
tagList
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
- Parameters:
tagList
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
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 totagList(List<Tag>)
.- Parameters:
tagList
- 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:
-