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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceResponse.BuildernextToken(String nextToken)The opaque string that indicates the position to begin the next list of results in the response.ListTagsForResourceResponse.Buildertags(Collection<TagListEntry> tags)An array of tags applied to the specified resource.ListTagsForResourceResponse.Buildertags(Consumer<TagListEntry.Builder>... tags)An array of tags applied to the specified resource.ListTagsForResourceResponse.Buildertags(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 Detail
-
tags
ListTagsForResourceResponse.Builder tags(Collection<TagListEntry> 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
ListTagsForResourceResponse.Builder tags(TagListEntry... 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
ListTagsForResourceResponse.Builder tags(Consumer<TagListEntry.Builder>... tags)
An array of tags applied to the specified resource.
This is a convenience method that creates an instance of theTagListEntry.Builderavoiding the need to create one manually viaTagListEntry.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 onTagListEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
nextToken
ListTagsForResourceResponse.Builder nextToken(String 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.
-
-