Interface ListTagsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> DataSyncResponse.Builder
,SdkBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder
extends DataSyncResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe opaque string that indicates the position to begin the next list of results in the response.tags
(Collection<TagListEntry> tags) An array of tags applied to the specified resource.tags
(Consumer<TagListEntry.Builder>... tags) An array of tags applied to the specified resource.tags
(TagListEntry... tags) An array of tags applied to the specified resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncResponse.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 tags applied to the specified resource.
- Parameters:
tags
- An array of tags applied to the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags applied to the specified resource.
- Parameters:
tags
- An array of tags applied to the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags applied to the specified resource.
This is a convenience method that creates an instance of theTagListEntry.Builder
avoiding the need to create one manually viaTagListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagListEntry>)
.- Parameters:
tags
- a consumer that will call methods onTagListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The opaque string that indicates the position to begin the next list of results in the response.
- Parameters:
nextToken
- The opaque string that indicates the position to begin the next list of results in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-