Interface ListTagsForResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkPojo,SdkResponse.Builder,StorageGatewayResponse.Builder
- Enclosing class:
- ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder extends StorageGatewayResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceResponse.Buildermarker(String marker)An opaque string that indicates the position at which to stop returning the list of tags.ListTagsForResourceResponse.BuilderresourceARN(String resourceARN)The Amazon Resource Name (ARN) of the resource for which you want to list tags.ListTagsForResourceResponse.Buildertags(Collection<Tag> tags)An array that contains the tags for the specified resource.ListTagsForResourceResponse.Buildertags(Consumer<Tag.Builder>... tags)An array that contains the tags for the specified resource.ListTagsForResourceResponse.Buildertags(Tag... tags)An array that contains the tags for the specified resource.-
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
-
Methods inherited from interface software.amazon.awssdk.services.storagegateway.model.StorageGatewayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
resourceARN
ListTagsForResourceResponse.Builder resourceARN(String resourceARN)
The Amazon Resource Name (ARN) of the resource for which you want to list tags.
- Parameters:
resourceARN- The Amazon Resource Name (ARN) of the resource for which you want to list tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
ListTagsForResourceResponse.Builder marker(String marker)
An opaque string that indicates the position at which to stop returning the list of tags.
- Parameters:
marker- An opaque string that indicates the position at which to stop returning the list of tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Collection<Tag> tags)
An array that contains the tags for the specified resource.
- Parameters:
tags- An array that contains the tags for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Tag... tags)
An array that contains the tags for the specified resource.
- Parameters:
tags- An array that contains the tags for the specified resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Consumer<Tag.Builder>... tags)
An array that contains the tags for the specified resource.
This is a convenience method that creates an instance of theTag.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)
-
-