public static interface AddTagsRequest.Builder extends MachineLearningRequest.Builder, SdkPojo, CopyableBuilder<AddTagsRequest.Builder,AddTagsRequest>
| Modifier and Type | Method and Description |
|---|---|
AddTagsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AddTagsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AddTagsRequest.Builder |
resourceId(String resourceId)
The ID of the ML object to tag.
|
AddTagsRequest.Builder |
resourceType(String resourceType)
The type of the ML object to tag.
|
AddTagsRequest.Builder |
resourceType(TaggableResourceType resourceType)
The type of the ML object to tag.
|
AddTagsRequest.Builder |
tags(Collection<Tag> tags)
The key-value pairs to use to create tags.
|
AddTagsRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The key-value pairs to use to create tags.
|
AddTagsRequest.Builder |
tags(Tag... tags)
The key-value pairs to use to create tags.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAddTagsRequest.Builder tags(Collection<Tag> tags)
The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.
tags - The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML
creates a tag with the specified key and a value of null.AddTagsRequest.Builder tags(Tag... tags)
The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.
tags - The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML
creates a tag with the specified key and a value of null.AddTagsRequest.Builder tags(Consumer<Tag.Builder>... tags)
The key-value pairs to use to create tags. If you specify a key without specifying a value, Amazon ML creates a tag with the specified key and a value of null.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) AddTagsRequest.Builder resourceId(String resourceId)
The ID of the ML object to tag. For example, exampleModelId.
resourceId - The ID of the ML object to tag. For example, exampleModelId.AddTagsRequest.Builder resourceType(String resourceType)
The type of the ML object to tag.
resourceType - The type of the ML object to tag.TaggableResourceType,
TaggableResourceTypeAddTagsRequest.Builder resourceType(TaggableResourceType resourceType)
The type of the ML object to tag.
resourceType - The type of the ML object to tag.TaggableResourceType,
TaggableResourceTypeAddTagsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAddTagsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.