Interface ResourceTagSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ResourceTagSet.Builder,
,ResourceTagSet> SdkBuilder<ResourceTagSet.Builder,
,ResourceTagSet> SdkPojo
- Enclosing class:
ResourceTagSet
-
Method Summary
Modifier and TypeMethodDescriptionresourceId
(String resourceId) The ID for the specified resource.resourceType
(String resourceType) The type of the resource.resourceType
(TagResourceType resourceType) The type of the resource.tags
(Collection<Tag> tags) The tags associated with the specified resource.tags
(Consumer<Tag.Builder>... tags) The tags associated with the specified resource.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 Details
-
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:
-
-
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:
-
-
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
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
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
The tags associated with the specified resource.
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 totags(List<Tag>)
.- 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:
-