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
Modifier and TypeMethodDescriptionAn opaque string that indicates the position at which to stop returning the list of tags.resourceARN
(String resourceARN) The Amazon Resource Name (ARN) of the resource for which you want to list tags.tags
(Collection<Tag> tags) An array that contains the tags for the specified resource.tags
(Consumer<Tag.Builder>... tags) An array that contains the tags for the specified resource.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 Details
-
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
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
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
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
An array that contains the tags for the specified resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-