Interface VpcClassicLink.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcClassicLink.Builder,
,VpcClassicLink> SdkBuilder<VpcClassicLink.Builder,
,VpcClassicLink> SdkPojo
- Enclosing class:
VpcClassicLink
public static interface VpcClassicLink.Builder
extends SdkPojo, CopyableBuilder<VpcClassicLink.Builder,VpcClassicLink>
-
Method Summary
Modifier and TypeMethodDescriptionclassicLinkEnabled
(Boolean classicLinkEnabled) Indicates whether the VPC is enabled for ClassicLink.tags
(Collection<Tag> tags) Any tags assigned to the VPC.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the VPC.Any tags assigned to the VPC.The ID of the VPC.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
-
classicLinkEnabled
Indicates whether the VPC is enabled for ClassicLink.
- Parameters:
classicLinkEnabled
- Indicates whether the VPC is enabled for ClassicLink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
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:
-
vpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-