public static interface TagSpecification.Builder extends SdkPojo, CopyableBuilder<TagSpecification.Builder,TagSpecification>
| Modifier and Type | Method and Description |
|---|---|
TagSpecification.Builder |
resourceType(ResourceType resourceType)
The type of resource to tag on creation.
|
TagSpecification.Builder |
resourceType(String resourceType)
The type of resource to tag on creation.
|
TagSpecification.Builder |
tags(Collection<Tag> tags)
The tags to apply to the resource.
|
TagSpecification.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to apply to the resource.
|
TagSpecification.Builder |
tags(Tag... tags)
The tags to apply to the resource.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTagSpecification.Builder resourceType(String resourceType)
The type of resource to tag on creation.
resourceType - The type of resource to tag on creation.ResourceType,
ResourceTypeTagSpecification.Builder resourceType(ResourceType resourceType)
The type of resource to tag on creation.
resourceType - The type of resource to tag on creation.ResourceType,
ResourceTypeTagSpecification.Builder tags(Collection<Tag> tags)
The tags to apply to the resource.
tags - The tags to apply to the resource.TagSpecification.Builder tags(Tag... tags)
The tags to apply to the resource.
tags - The tags to apply to the resource.TagSpecification.Builder tags(Consumer<Tag.Builder>... tags)
The tags to apply to the resource.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) Copyright © 2022. All rights reserved.