Class CfnPublicVirtualInterfacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnPublicVirtualInterfacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicVirtualInterfacePropsMixin>
- Enclosing class:
CfnPublicVirtualInterfacePropsMixin
@Stability(Stable)
public static final class CfnPublicVirtualInterfacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublicVirtualInterfacePropsMixin>
A fluent builder for
CfnPublicVirtualInterfacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionallocatePublicVirtualInterfaceRoleArn(String allocatePublicVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the public virtual interface.The BGP peers configured on this virtual interface.bgpPeers(IResolvable bgpPeers) The BGP peers configured on this virtual interface.build()connectionId(String connectionId) connectionId(IConnectionRef connectionId) connectionId(ILagRef connectionId) create()create(CfnPropertyMixinOptions options) routeFilterPrefixes(List<String> routeFilterPrefixes) The routes to be advertised to the AWS network in this region.The tags associated with the public virtual interface.virtualInterfaceName(String virtualInterfaceName) The name of the virtual interface assigned by the customer network.The ID of the VLAN.
-
Method Details
-
create
@Stability(Stable) public static CfnPublicVirtualInterfacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPublicVirtualInterfacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPublicVirtualInterfacePropsMixin.Builder.
-
allocatePublicVirtualInterfaceRoleArn
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder allocatePublicVirtualInterfaceRoleArn(String allocatePublicVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the public virtual interface.Needs directconnect:AllocatePublicVirtualInterface permissions and tag permissions if applicable.
- Parameters:
allocatePublicVirtualInterfaceRoleArn- The Amazon Resource Name (ARN) of the role to allocate the public virtual interface. This parameter is required.- Returns:
this- See Also:
-
bgpPeers
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder bgpPeers(IResolvable bgpPeers) The BGP peers configured on this virtual interface.- Parameters:
bgpPeers- The BGP peers configured on this virtual interface. This parameter is required.- Returns:
this- See Also:
-
bgpPeers
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder bgpPeers(List<? extends Object> bgpPeers) The BGP peers configured on this virtual interface.- Parameters:
bgpPeers- The BGP peers configured on this virtual interface. This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder connectionId(String connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder connectionId(IConnectionRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder connectionId(ILagRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
routeFilterPrefixes
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder routeFilterPrefixes(List<String> routeFilterPrefixes) The routes to be advertised to the AWS network in this region.- Parameters:
routeFilterPrefixes- The routes to be advertised to the AWS network in this region. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder tags(List<? extends CfnTag> tags) The tags associated with the public virtual interface.- Parameters:
tags- The tags associated with the public virtual interface. This parameter is required.- Returns:
this- See Also:
-
virtualInterfaceName
@Stability(Stable) public CfnPublicVirtualInterfacePropsMixin.Builder virtualInterfaceName(String virtualInterfaceName) The name of the virtual interface assigned by the customer network.The name has a maximum of 100 characters. The following are valid characters: a-z, 0-9 and a hyphen (-).
- Parameters:
virtualInterfaceName- The name of the virtual interface assigned by the customer network. 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:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicVirtualInterfacePropsMixin>- Returns:
- a newly built instance of
CfnPublicVirtualInterfacePropsMixin.
-