Interface ListTagsForResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>,SdkPojo,SdkResponse.Builder,TransferResponse.Builder
- Enclosing class:
- ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder extends TransferResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListTagsForResourceResponse.Builderarn(String arn)The ARN you specified to list the tags of.ListTagsForResourceResponse.BuildernextToken(String nextToken)When you can get additional results from theListTagsForResourcecall, aNextTokenparameter is returned in the output.ListTagsForResourceResponse.Buildertags(Collection<Tag> tags)Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.ListTagsForResourceResponse.Buildertags(Consumer<Tag.Builder>... tags)Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.ListTagsForResourceResponse.Buildertags(Tag... tags)Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items.-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
arn
ListTagsForResourceResponse.Builder arn(String arn)
The ARN you specified to list the tags of.
- Parameters:
arn- The ARN you specified to list the tags of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListTagsForResourceResponse.Builder nextToken(String nextToken)
When you can get additional results from the
ListTagsForResourcecall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter to continue listing additional tags.- Parameters:
nextToken- When you can get additional results from theListTagsForResourcecall, aNextTokenparameter is returned in the output. You can then pass in a subsequent command to theNextTokenparameter to continue listing additional tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Collection<Tag> tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
- Parameters:
tags- Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Tag... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
- Parameters:
tags- Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ListTagsForResourceResponse.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that are assigned to a resource, usually for the purpose of grouping and searching for items. Tags are metadata that you define.
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)
-
-