Interface ListTagsForResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudFrontResponse.Builder
,CopyableBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> SdkBuilder<ListTagsForResourceResponse.Builder,
,ListTagsForResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListTagsForResourceResponse
public static interface ListTagsForResourceResponse.Builder
extends CloudFrontResponse.Builder, SdkPojo, CopyableBuilder<ListTagsForResourceResponse.Builder,ListTagsForResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptiontags
(Consumer<Tags.Builder> tags) A complex type that contains zero or moreTag
elements.A complex type that contains zero or moreTag
elements.Methods inherited from interface software.amazon.awssdk.services.cloudfront.model.CloudFrontResponse.Builder
build, responseMetadata, responseMetadata
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
-
Method Details
-
tags
A complex type that contains zero or more
Tag
elements.- Parameters:
tags
- A complex type that contains zero or moreTag
elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A complex type that contains zero or more
This is a convenience method that creates an instance of theTag
elements.Tags.Builder
avoiding the need to create one manually viaTags.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(Tags)
.- Parameters:
tags
- a consumer that will call methods onTags.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-