Interface TagResourceRequest.Builder
-
- All Superinterfaces:
AppRunnerRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
public static interface TagResourceRequest.Builder extends AppRunnerRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TagResourceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)TagResourceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)TagResourceRequest.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) of the resource that you want to update tags for.TagResourceRequest.Buildertags(Collection<Tag> tags)A list of tag key-value pairs to add or update.TagResourceRequest.Buildertags(Consumer<Tag.Builder>... tags)A list of tag key-value pairs to add or update.TagResourceRequest.Buildertags(Tag... tags)A list of tag key-value pairs to add or update.-
Methods inherited from interface software.amazon.awssdk.services.apprunner.model.AppRunnerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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
-
resourceArn
TagResourceRequest.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the resource that you want to update tags for.
It must be the ARN of an App Runner resource.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the resource that you want to update tags for.It must be the ARN of an App Runner resource.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Collection<Tag> tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
- Parameters:
tags- A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Tag... tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
- Parameters:
tags- A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag key-value pairs to add or update. If a key is new to the resource, the tag is added with the provided value. If a key is already associated with the resource, the value of the tag is updated.
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)
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-