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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsResponse.BuildernextToken(String nextToken)If response is truncated, SageMaker includes a token in the response.ListTagsResponse.Buildertags(Collection<Tag> tags)An array ofTagobjects, each with a tag key and a value.ListTagsResponse.Buildertags(Consumer<Tag.Builder>... tags)An array ofTagobjects, each with a tag key and a value.ListTagsResponse.Buildertags(Tag... tags)An array ofTagobjects, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
tags
ListTagsResponse.Builder tags(Collection<Tag> tags)
An array of
Tagobjects, each with a tag key and a value.- Parameters:
tags- An array ofTagobjects, each with a tag key and a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsResponse.Builder tags(Tag... tags)
An array of
Tagobjects, each with a tag key and a value.- Parameters:
tags- An array ofTagobjects, each with a tag key and a value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsResponse.Builder tags(Consumer<Tag.Builder>... tags)
An array of
This is a convenience method that creates an instance of theTagobjects, each with a tag key and a value.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)
-
nextToken
ListTagsResponse.Builder nextToken(String 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.
-
-