Interface ResourceTagSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceTagSet.Builder,ResourceTagSet>,SdkBuilder<ResourceTagSet.Builder,ResourceTagSet>,SdkPojo
- Enclosing class:
- ResourceTagSet
public static interface ResourceTagSet.Builder extends SdkPojo, CopyableBuilder<ResourceTagSet.Builder,ResourceTagSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourceTagSet.BuilderresourceId(String resourceId)The ID for the specified resource.ResourceTagSet.BuilderresourceType(String resourceType)The type of the resource.ResourceTagSet.BuilderresourceType(TagResourceType resourceType)The type of the resource.ResourceTagSet.Buildertags(Collection<Tag> tags)The tags associated with the specified resource.ResourceTagSet.Buildertags(Consumer<Tag.Builder>... tags)The tags associated with the specified resource.ResourceTagSet.Buildertags(Tag... tags)The tags associated with the specified 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
ResourceTagSet.Builder resourceType(String resourceType)
The type of the resource.
-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
- Parameters:
resourceType- The type of the resource.-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagResourceType,TagResourceType
-
-
resourceType
ResourceTagSet.Builder resourceType(TagResourceType resourceType)
The type of the resource.
-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
- Parameters:
resourceType- The type of the resource.-
The resource type for health checks is
healthcheck. -
The resource type for hosted zones is
hostedzone.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TagResourceType,TagResourceType
-
-
resourceId
ResourceTagSet.Builder resourceId(String resourceId)
The ID for the specified resource.
- Parameters:
resourceId- The ID for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ResourceTagSet.Builder tags(Collection<Tag> tags)
The tags associated with the specified resource.
- Parameters:
tags- The tags associated with the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ResourceTagSet.Builder tags(Tag... tags)
The tags associated with the specified resource.
- Parameters:
tags- The tags associated with the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ResourceTagSet.Builder tags(Consumer<Tag.Builder>... tags)
The tags associated with the specified 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)
-
-