Class CfnLocalGatewayVirtualInterfaceMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLocalGatewayVirtualInterfaceMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceMixinProps>
- Enclosing interface:
CfnLocalGatewayVirtualInterfaceMixinProps
@Stability(Stable)
public static final class CfnLocalGatewayVirtualInterfaceMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceMixinProps>
A builder for
CfnLocalGatewayVirtualInterfaceMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.localAddress(String localAddress) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getLocalAddress()localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) outpostLagId(String outpostLagId) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getOutpostLagId()peerAddress(String peerAddress) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerAddress()peerBgpAsn(Number peerBgpAsn) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerBgpAsn()peerBgpAsnExtended(Number peerBgpAsnExtended) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerBgpAsnExtended()Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getTags()Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getVlan()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
localAddress
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder localAddress(String localAddress) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getLocalAddress()- Parameters:
localAddress- The local address.- Returns:
this
-
localGatewayVirtualInterfaceGroupId
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getLocalGatewayVirtualInterfaceGroupId()- Parameters:
localGatewayVirtualInterfaceGroupId- The ID of the local gateway virtual interface group.- Returns:
this
-
outpostLagId
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder outpostLagId(String outpostLagId) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getOutpostLagId()- Parameters:
outpostLagId- The Outpost LAG ID.- Returns:
this
-
peerAddress
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder peerAddress(String peerAddress) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerAddress()- Parameters:
peerAddress- The peer address.- Returns:
this
-
peerBgpAsn
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder peerBgpAsn(Number peerBgpAsn) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerBgpAsn()- Parameters:
peerBgpAsn- The peer BGP ASN.- Returns:
this
-
peerBgpAsnExtended
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder peerBgpAsnExtended(Number peerBgpAsnExtended) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getPeerBgpAsnExtended()- Parameters:
peerBgpAsnExtended- The extended 32-bit ASN of the BGP peer for use with larger ASN values.- Returns:
this
-
tags
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getTags()- Parameters:
tags- The tags assigned to the virtual interface.- Returns:
this
-
vlan
Sets the value ofCfnLocalGatewayVirtualInterfaceMixinProps.getVlan()- Parameters:
vlan- The ID of the VLAN.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceMixinProps>- Returns:
- a new instance of
CfnLocalGatewayVirtualInterfaceMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-