Interface ListTagsForResourceResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListTagsForResourcerequest.ListTagsForResourceResponse.Buildertags(Collection<TagRef> tags)The tags for the resource.ListTagsForResourceResponse.Buildertags(Consumer<TagRef.Builder>... tags)The tags for the resource.ListTagsForResourceResponse.Buildertags(TagRef... tags)The tags for the resource.-
Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
nextToken
ListTagsForResourceResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureListTagsForResourcerequest. When the results of aListTagsForResourcerequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListTagsForResourcerequest. When the results of aListTagsForResourcerequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Collection<TagRef> tags)
The tags for the resource.
- Parameters:
tags- The tags for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(TagRef... tags)
The tags for the resource.
- Parameters:
tags- The tags for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Consumer<TagRef.Builder>... tags)
The tags for the resource.
This is a convenience method that creates an instance of theTagRef.Builderavoiding the need to create one manually viaTagRef.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 onTagRef.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-