Interface VpcClassicLink.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcClassicLink.Builder,VpcClassicLink>,SdkBuilder<VpcClassicLink.Builder,VpcClassicLink>,SdkPojo
- Enclosing class:
- VpcClassicLink
@Mutable @NotThreadSafe public static interface VpcClassicLink.Builder extends SdkPojo, CopyableBuilder<VpcClassicLink.Builder,VpcClassicLink>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcClassicLink.BuilderclassicLinkEnabled(Boolean classicLinkEnabled)Indicates whether the VPC is enabled for ClassicLink.VpcClassicLink.Buildertags(Collection<Tag> tags)Any tags assigned to the VPC.VpcClassicLink.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the VPC.VpcClassicLink.Buildertags(Tag... tags)Any tags assigned to the VPC.VpcClassicLink.BuildervpcId(String vpcId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
classicLinkEnabled
VpcClassicLink.Builder classicLinkEnabled(Boolean 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
VpcClassicLink.Builder tags(Collection<Tag> 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
VpcClassicLink.Builder tags(Tag... 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
VpcClassicLink.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the VPC.
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)
-
vpcId
VpcClassicLink.Builder vpcId(String 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.
-
-