Class CfnTransitVirtualInterfacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnTransitVirtualInterfacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTransitVirtualInterfacePropsMixin>
- Enclosing class:
CfnTransitVirtualInterfacePropsMixin
@Stability(Stable)
public static final class CfnTransitVirtualInterfacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTransitVirtualInterfacePropsMixin>
A fluent builder for
CfnTransitVirtualInterfacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionallocateTransitVirtualInterfaceRoleArn(String allocateTransitVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.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) directConnectGatewayId(String directConnectGatewayId) directConnectGatewayId(IDirectConnectGatewayRef directConnectGatewayId) enableSiteLink(Boolean enableSiteLink) Indicates whether to enable or disable SiteLink.enableSiteLink(IResolvable enableSiteLink) Indicates whether to enable or disable SiteLink.The maximum transmission unit (MTU), in bytes.The tags associated with the private 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 CfnTransitVirtualInterfacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnTransitVirtualInterfacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnTransitVirtualInterfacePropsMixin.Builder.
-
allocateTransitVirtualInterfaceRoleArn
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder allocateTransitVirtualInterfaceRoleArn(String allocateTransitVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation.Needs directconnect:AllocateTransitVirtualInterface permissions and tag permissions if applicable.
- Parameters:
allocateTransitVirtualInterfaceRoleArn- The Amazon Resource Name (ARN) of the role to allocate the TransitVifAllocation. This parameter is required.- Returns:
this- See Also:
-
bgpPeers
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.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 CfnTransitVirtualInterfacePropsMixin.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 CfnTransitVirtualInterfacePropsMixin.Builder connectionId(String connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder connectionId(IConnectionRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder connectionId(ILagRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder directConnectGatewayId(String directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder directConnectGatewayId(IDirectConnectGatewayRef directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
enableSiteLink
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder enableSiteLink(Boolean enableSiteLink) Indicates whether to enable or disable SiteLink.- Parameters:
enableSiteLink- Indicates whether to enable or disable SiteLink. This parameter is required.- Returns:
this- See Also:
-
enableSiteLink
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder enableSiteLink(IResolvable enableSiteLink) Indicates whether to enable or disable SiteLink.- Parameters:
enableSiteLink- Indicates whether to enable or disable SiteLink. This parameter is required.- Returns:
this- See Also:
-
mtu
The maximum transmission unit (MTU), in bytes.The supported values are 1500 and 9001. The default value is 1500.
- Parameters:
mtu- The maximum transmission unit (MTU), in bytes. This parameter is required.- Returns:
this- See Also:
-
tags
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.Builder tags(List<? extends CfnTag> tags) The tags associated with the private virtual interface.- Parameters:
tags- The tags associated with the private virtual interface. This parameter is required.- Returns:
this- See Also:
-
virtualInterfaceName
@Stability(Stable) public CfnTransitVirtualInterfacePropsMixin.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<CfnTransitVirtualInterfacePropsMixin>- Returns:
- a newly built instance of
CfnTransitVirtualInterfacePropsMixin.
-