Class CfnLocalGatewayVirtualInterfaceGroup.Builder
java.lang.Object
software.amazon.awscdk.services.ec2.CfnLocalGatewayVirtualInterfaceGroup.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroup>
- Enclosing class:
CfnLocalGatewayVirtualInterfaceGroup
@Stability(Stable)
public static final class CfnLocalGatewayVirtualInterfaceGroup.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroup>
A fluent builder for
CfnLocalGatewayVirtualInterfaceGroup.-
Method Summary
Modifier and TypeMethodDescriptionbuild()localBgpAsn(Number localBgpAsn) The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).localBgpAsnExtended(Number localBgpAsnExtended) The extended 32-bit ASN for the local BGP configuration.localGatewayId(String localGatewayId) The ID of the local gateway.The tags assigned to the virtual interface group.
-
Method Details
-
create
@Stability(Stable) public static CfnLocalGatewayVirtualInterfaceGroup.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
CfnLocalGatewayVirtualInterfaceGroup.Builder.
-
localGatewayId
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroup.Builder localGatewayId(String localGatewayId) The ID of the local gateway.- Parameters:
localGatewayId- The ID of the local gateway. This parameter is required.- Returns:
this- See Also:
-
localBgpAsn
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroup.Builder localBgpAsn(Number localBgpAsn) The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP).- Parameters:
localBgpAsn- The Autonomous System Number(ASN) for the local Border Gateway Protocol (BGP). This parameter is required.- Returns:
this- See Also:
-
localBgpAsnExtended
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroup.Builder localBgpAsnExtended(Number localBgpAsnExtended) The extended 32-bit ASN for the local BGP configuration.- Parameters:
localBgpAsnExtended- The extended 32-bit ASN for the local BGP configuration. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnLocalGatewayVirtualInterfaceGroup.Builder tags(List<? extends CfnTag> tags) The tags assigned to the virtual interface group.- Parameters:
tags- The tags assigned to the virtual interface group. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayVirtualInterfaceGroup>- Returns:
- a newly built instance of
CfnLocalGatewayVirtualInterfaceGroup.
-