Interface TagResourceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>,EmrServerlessRequest.Builder,SdkBuilder<TagResourceRequest.Builder,TagResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
public static interface TagResourceRequest.Builder extends EmrServerlessRequest.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) that identifies the resource to list the tags for.TagResourceRequest.Buildertags(Map<String,String> tags)The tags to add to the resource.-
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.services.emrserverless.model.EmrServerlessRequest.Builder
build
-
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) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) that identifies the resource to list the tags for. Currently, the supported resources are Amazon EMR Serverless applications and job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TagResourceRequest.Builder tags(Map<String,String> tags)
The tags to add to the resource. A tag is an array of key-value pairs.
- Parameters:
tags- The tags to add to the resource. A tag is an array of key-value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-