Interface ListTagsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListTagsForResourceResponse.Builder,,ListTagsForResourceResponse> SdkBuilder<ListTagsForResourceResponse.Builder,,ListTagsForResourceResponse> SdkPojo,SdkResponse.Builder,SesV2Response.Builder
- Enclosing class:
- ListTagsForResourceResponse
@Mutable
@NotThreadSafe
public static interface ListTagsForResourceResponse.Builder
extends SesV2Response.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontags(Collection<Tag> tags) An array that lists all the tags that are associated with the resource.tags(Consumer<Tag.Builder>... tags) An array that lists all the tags that are associated with the resource.An array that lists all the tags that are associated with the resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sesv2.model.SesV2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
tags
An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (
Key) and an associated tag value (Value)- Parameters:
tags- An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (
Key) and an associated tag value (Value)- Parameters:
tags- An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (Key) and an associated tag value (Value)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array that lists all the tags that are associated with the resource. Each tag consists of a required tag key (
This is a convenience method that creates an instance of theKey) and an associated tag value (Value)Tag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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:
-