Interface AddTagsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>,OpenSearchRequest.Builder,SdkBuilder<AddTagsRequest.Builder,AddTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AddTagsRequest
public static interface AddTagsRequest.Builder extends OpenSearchRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AddTagsRequest.Builderarn(String arn)Amazon Resource Name (ARN) for the OpenSearch Service domain, data source, or application to which you want to attach resource tags.AddTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AddTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AddTagsRequest.BuildertagList(Collection<Tag> tagList)List of resource tags.AddTagsRequest.BuildertagList(Consumer<Tag.Builder>... tagList)List of resource tags.AddTagsRequest.BuildertagList(Tag... tagList)List of resource tags.-
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.opensearch.model.OpenSearchRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
arn
AddTagsRequest.Builder arn(String arn)
Amazon Resource Name (ARN) for the OpenSearch Service domain, data source, or application to which you want to attach resource tags.
- Parameters:
arn- Amazon Resource Name (ARN) for the OpenSearch Service domain, data source, or application to which you want to attach resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
AddTagsRequest.Builder tagList(Collection<Tag> tagList)
List of resource tags.
- Parameters:
tagList- List of resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
AddTagsRequest.Builder tagList(Tag... tagList)
List of resource tags.
- Parameters:
tagList- List of resource tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
AddTagsRequest.Builder tagList(Consumer<Tag.Builder>... tagList)
List of resource tags.
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#tagList(List.) - Parameters:
tagList- 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:
#tagList(java.util.Collection)
-
overrideConfiguration
AddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-