Class CfnLocalGatewayVirtualInterface.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLocalGatewayVirtualInterface.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterface>
- Enclosing class:
CfnLocalGatewayVirtualInterface
@Stability(Stable)
public static final class CfnLocalGatewayVirtualInterface.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterface>
A fluent builder for
CfnLocalGatewayVirtualInterface
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
localAddress
(String localAddress) The local address.localGatewayVirtualInterfaceGroupId
(String localGatewayVirtualInterfaceGroupId) The ID of the local gateway virtual interface group.outpostLagId
(String outpostLagId) The Outpost LAG ID.peerAddress
(String peerAddress) The peer address.peerBgpAsn
(Number peerBgpAsn) The peer BGP ASN.peerBgpAsnExtended
(Number peerBgpAsnExtended) The extended 32-bit ASN of the BGP peer for use with larger ASN values.The tags assigned to the virtual interface.The ID of the VLAN.
-
Method Details
-
create
@Stability(Stable) public static CfnLocalGatewayVirtualInterface.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnLocalGatewayVirtualInterface.Builder
.
-
localAddress
The local address.- Parameters:
localAddress
- The local address. This parameter is required.- Returns:
this
- See Also:
-
localGatewayVirtualInterfaceGroupId
@Stability(Stable) public CfnLocalGatewayVirtualInterface.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) The ID of the local gateway virtual interface group.- Parameters:
localGatewayVirtualInterfaceGroupId
- The ID of the local gateway virtual interface group. This parameter is required.- Returns:
this
- See Also:
-
outpostLagId
The Outpost LAG ID.- Parameters:
outpostLagId
- The Outpost LAG ID. This parameter is required.- Returns:
this
- See Also:
-
peerAddress
The peer address.- Parameters:
peerAddress
- The peer address. This parameter is required.- Returns:
this
- See Also:
-
vlan
The ID of the VLAN.- Parameters:
vlan
- The ID of the VLAN. This parameter is required.- Returns:
this
- See Also:
-
peerBgpAsn
The peer BGP ASN.- Parameters:
peerBgpAsn
- The peer BGP ASN. This parameter is required.- Returns:
this
- See Also:
-
peerBgpAsnExtended
@Stability(Stable) public CfnLocalGatewayVirtualInterface.Builder peerBgpAsnExtended(Number peerBgpAsnExtended) The extended 32-bit ASN of the BGP peer for use with larger ASN values.- Parameters:
peerBgpAsnExtended
- The extended 32-bit ASN of the BGP peer for use with larger ASN values. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags assigned to the virtual interface.- Parameters:
tags
- The tags assigned to the virtual interface. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayVirtualInterface>
- Returns:
- a newly built instance of
CfnLocalGatewayVirtualInterface
.
-