Class CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroupMixinProps>
- Enclosing interface:
CfnLocalGatewayVirtualInterfaceGroupMixinProps
@Stability(Stable)
public static final class CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroupMixinProps>
A builder for
CfnLocalGatewayVirtualInterfaceGroupMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.localBgpAsn(Number localBgpAsn) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalBgpAsn()localBgpAsnExtended(Number localBgpAsnExtended) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalBgpAsnExtended()localGatewayId(String localGatewayId) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalGatewayId()Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localBgpAsn
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder localBgpAsn(Number localBgpAsn) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalBgpAsn()- Parameters:
localBgpAsn- The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).- Returns:
this
-
localBgpAsnExtended
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder localBgpAsnExtended(Number localBgpAsnExtended) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalBgpAsnExtended()- Parameters:
localBgpAsnExtended- The extended 32-bit ASN for the local BGP configuration.- Returns:
this
-
localGatewayId
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder localGatewayId(String localGatewayId) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getLocalGatewayId()- Parameters:
localGatewayId- The ID of the local gateway.- Returns:
this
-
tags
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroupMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnLocalGatewayVirtualInterfaceGroupMixinProps.getTags()- Parameters:
tags- The tags assigned to the virtual interface group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroupMixinProps>- Returns:
- a new instance of
CfnLocalGatewayVirtualInterfaceGroupMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-