public static interface DescribeTagsResponse.Builder extends MachineLearningResponse.Builder, CopyableBuilder<DescribeTagsResponse.Builder,DescribeTagsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeTagsResponse.Builder |
resourceId(String resourceId)
The ID of the tagged ML object.
|
DescribeTagsResponse.Builder |
resourceType(String resourceType)
The type of the tagged ML object.
|
DescribeTagsResponse.Builder |
resourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
|
DescribeTagsResponse.Builder |
tags(Collection<Tag> tags)
A list of tags associated with the ML object.
|
DescribeTagsResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
A list of tags associated with the ML object.
|
DescribeTagsResponse.Builder |
tags(Tag... tags)
A list of tags associated with the ML object.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeTagsResponse.Builder resourceId(String resourceId)
The ID of the tagged ML object.
resourceId
- The ID of the tagged ML object.DescribeTagsResponse.Builder resourceType(String resourceType)
The type of the tagged ML object.
resourceType
- The type of the tagged ML object.TaggableResourceType
,
TaggableResourceType
DescribeTagsResponse.Builder resourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
resourceType
- The type of the tagged ML object.TaggableResourceType
,
TaggableResourceType
DescribeTagsResponse.Builder tags(Collection<Tag> tags)
A list of tags associated with the ML object.
tags
- A list of tags associated with the ML object.DescribeTagsResponse.Builder tags(Tag... tags)
A list of tags associated with the ML object.
tags
- A list of tags associated with the ML object.DescribeTagsResponse.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags associated with the ML object.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.