Interface LaunchTemplateTagSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateTagSpecification.Builder,LaunchTemplateTagSpecification>,SdkBuilder<LaunchTemplateTagSpecification.Builder,LaunchTemplateTagSpecification>,SdkPojo
- Enclosing class:
- LaunchTemplateTagSpecification
public static interface LaunchTemplateTagSpecification.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateTagSpecification.Builder,LaunchTemplateTagSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LaunchTemplateTagSpecification.BuilderresourceType(String resourceType)The type of resource to tag.LaunchTemplateTagSpecification.BuilderresourceType(ResourceType resourceType)The type of resource to tag.LaunchTemplateTagSpecification.Buildertags(Collection<Tag> tags)The tags for the resource.LaunchTemplateTagSpecification.Buildertags(Consumer<Tag.Builder>... tags)The tags for the resource.LaunchTemplateTagSpecification.Buildertags(Tag... tags)The tags for the resource.-
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
-
resourceType
LaunchTemplateTagSpecification.Builder resourceType(String resourceType)
The type of resource to tag.
- Parameters:
resourceType- The type of resource to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
resourceType
LaunchTemplateTagSpecification.Builder resourceType(ResourceType resourceType)
The type of resource to tag.
- Parameters:
resourceType- The type of resource to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceType,ResourceType
-
tags
LaunchTemplateTagSpecification.Builder tags(Collection<Tag> tags)
The tags for the resource.
- Parameters:
tags- The tags for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LaunchTemplateTagSpecification.Builder tags(Tag... tags)
The tags for the resource.
- Parameters:
tags- The tags for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
LaunchTemplateTagSpecification.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the resource.
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)
-
-