Interface TagDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TagDescription.Builder,
,TagDescription> SdkBuilder<TagDescription.Builder,
,TagDescription> SdkPojo
- Enclosing class:
TagDescription
public static interface TagDescription.Builder
extends SdkPojo, CopyableBuilder<TagDescription.Builder,TagDescription>
-
Method Summary
Modifier and TypeMethodDescriptionloadBalancerName
(String loadBalancerName) The name of the load balancer.tags
(Collection<Tag> tags) The tags.tags
(Consumer<Tag.Builder>... tags) The tags.The tags.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
-
Method Details
-
loadBalancerName
The name of the load balancer.
- Parameters:
loadBalancerName
- The name of the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags.
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:
-