Interface CreateTagsRequest.Builder
-
- All Superinterfaces:
ApplicationDiscoveryRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,SdkBuilder<CreateTagsRequest.Builder,CreateTagsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateTagsRequest
public static interface CreateTagsRequest.Builder extends ApplicationDiscoveryRequest.Builder, SdkPojo, CopyableBuilder<CreateTagsRequest.Builder,CreateTagsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateTagsRequest.BuilderconfigurationIds(String... configurationIds)A list of configuration items that you want to tag.CreateTagsRequest.BuilderconfigurationIds(Collection<String> configurationIds)A list of configuration items that you want to tag.CreateTagsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateTagsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateTagsRequest.Buildertags(Collection<Tag> tags)Tags that you want to associate with one or more configuration items.CreateTagsRequest.Buildertags(Consumer<Tag.Builder>... tags)Tags that you want to associate with one or more configuration items.CreateTagsRequest.Buildertags(Tag... tags)Tags that you want to associate with one or more configuration items.-
Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryRequest.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
-
configurationIds
CreateTagsRequest.Builder configurationIds(Collection<String> configurationIds)
A list of configuration items that you want to tag.
- Parameters:
configurationIds- A list of configuration items that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationIds
CreateTagsRequest.Builder configurationIds(String... configurationIds)
A list of configuration items that you want to tag.
- Parameters:
configurationIds- A list of configuration items that you want to tag.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Collection<Tag> tags)
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}- Parameters:
tags- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:{"key": "serverType", "value": "webServer"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Tag... tags)
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
{"key": "serverType", "value": "webServer"}- Parameters:
tags- Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:{"key": "serverType", "value": "webServer"}- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags that you want to associate with one or more configuration items. Specify the tags that you want to create in a key-value format. For example:
This is a convenience method that creates an instance of the{"key": "serverType", "value": "webServer"}Tag.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
CreateTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-