Interface ListTagsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTagsResponse.Builder,
,ListTagsResponse> SageMakerResponse.Builder
,SdkBuilder<ListTagsResponse.Builder,
,ListTagsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTagsResponse
public static interface ListTagsResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<ListTagsResponse.Builder,ListTagsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf response is truncated, SageMaker includes a token in the response.tags
(Collection<Tag> tags) An array ofTag
objects, each with a tag key and a value.tags
(Consumer<Tag.Builder>... tags) An array ofTag
objects, each with a tag key and a value.An array ofTag
objects, each with a tag key and a value.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.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 Details
-
tags
An array of
Tag
objects, each with a tag key and a value.- Parameters:
tags
- An array ofTag
objects, each with a tag key and a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of
Tag
objects, each with a tag key and a value.- Parameters:
tags
- An array ofTag
objects, each with a tag key and a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of
This is a convenience method that creates an instance of theTag
objects, each with a tag key and a value.Tag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
nextToken
If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.
- Parameters:
nextToken
- If response is truncated, SageMaker includes a token in the response. You can use this token in your subsequent request to fetch next set of tokens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-