Interface DescribeTagsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTagsResponse.Builder,DescribeTagsResponse>,MachineLearningResponse.Builder,SdkBuilder<DescribeTagsResponse.Builder,DescribeTagsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTagsResponse
public static interface DescribeTagsResponse.Builder extends MachineLearningResponse.Builder, SdkPojo, CopyableBuilder<DescribeTagsResponse.Builder,DescribeTagsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeTagsResponse.BuilderresourceId(String resourceId)The ID of the tagged ML object.DescribeTagsResponse.BuilderresourceType(String resourceType)The type of the tagged ML object.DescribeTagsResponse.BuilderresourceType(TaggableResourceType resourceType)The type of the tagged ML object.DescribeTagsResponse.Buildertags(Collection<Tag> tags)A list of tags associated with the ML object.DescribeTagsResponse.Buildertags(Consumer<Tag.Builder>... tags)A list of tags associated with the ML object.DescribeTagsResponse.Buildertags(Tag... tags)A list of tags associated with the ML object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.machinelearning.model.MachineLearningResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resourceId
DescribeTagsResponse.Builder resourceId(String resourceId)
The ID of the tagged ML object.
- Parameters:
resourceId- The ID of the tagged ML object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
DescribeTagsResponse.Builder resourceType(String resourceType)
The type of the tagged ML object.
- Parameters:
resourceType- The type of the tagged ML object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaggableResourceType,TaggableResourceType
-
resourceType
DescribeTagsResponse.Builder resourceType(TaggableResourceType resourceType)
The type of the tagged ML object.
- Parameters:
resourceType- The type of the tagged ML object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TaggableResourceType,TaggableResourceType
-
tags
DescribeTagsResponse.Builder tags(Collection<Tag> tags)
A list of tags associated with the ML object.
- Parameters:
tags- A list of tags associated with the ML object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DescribeTagsResponse.Builder tags(Tag... tags)
A list of tags associated with the ML object.
- Parameters:
tags- A list of tags associated with the ML object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DescribeTagsResponse.Builder tags(Consumer<Tag.Builder>... tags)
A list of tags associated with the ML object.
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#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)
-
-