Interface TagResourceRequest.Builder
- All Superinterfaces:
AthenaRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<TagResourceRequest.Builder,,TagResourceRequest> SdkBuilder<TagResourceRequest.Builder,,TagResourceRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- TagResourceRequest
@Mutable
@NotThreadSafe
public static interface TagResourceRequest.Builder
extends AthenaRequest.Builder, SdkPojo, CopyableBuilder<TagResourceRequest.Builder,TagResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) resourceARN(String resourceARN) Specifies the ARN of the Athena resource to which tags are to be added.tags(Collection<Tag> tags) A collection of one or more tags, separated by commas, to be added to an Athena resource.tags(Consumer<Tag.Builder>... tags) A collection of one or more tags, separated by commas, to be added to an Athena resource.A collection of one or more tags, separated by commas, to be added to an Athena resource.Methods inherited from interface software.amazon.awssdk.services.athena.model.AthenaRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceARN
Specifies the ARN of the Athena resource to which tags are to be added.
- Parameters:
resourceARN- Specifies the ARN of the Athena resource to which tags are to be added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of one or more tags, separated by commas, to be added to an Athena resource.
- Parameters:
tags- A collection of one or more tags, separated by commas, to be added to an Athena resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of one or more tags, separated by commas, to be added to an Athena resource.
- Parameters:
tags- A collection of one or more tags, separated by commas, to be added to an Athena resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A collection of one or more tags, separated by commas, to be added to an Athena 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 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:
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
TagResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-