Class CfnPrivateVirtualInterfacePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.directconnect.CfnPrivateVirtualInterfacePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPrivateVirtualInterfacePropsMixin>
- Enclosing class:
CfnPrivateVirtualInterfacePropsMixin
@Stability(Stable)
public static final class CfnPrivateVirtualInterfacePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPrivateVirtualInterfacePropsMixin>
A fluent builder for
CfnPrivateVirtualInterfacePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionallocatePrivateVirtualInterfaceRoleArn(String allocatePrivateVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the private 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) 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.virtualGatewayId(String virtualGatewayId) The ID or ARN of the virtual private gateway.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 CfnPrivateVirtualInterfacePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnPrivateVirtualInterfacePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnPrivateVirtualInterfacePropsMixin.Builder.
-
allocatePrivateVirtualInterfaceRoleArn
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder allocatePrivateVirtualInterfaceRoleArn(String allocatePrivateVirtualInterfaceRoleArn) The Amazon Resource Name (ARN) of the role to allocate the private virtual interface.Needs directconnect:AllocatePrivateVirtualInterface permissions and tag permissions if applicable.
- Parameters:
allocatePrivateVirtualInterfaceRoleArn- The Amazon Resource Name (ARN) of the role to allocate the private virtual interface. This parameter is required.- Returns:
this- See Also:
-
bgpPeers
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.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 CfnPrivateVirtualInterfacePropsMixin.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 CfnPrivateVirtualInterfacePropsMixin.Builder connectionId(String connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder connectionId(IConnectionRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
connectionId
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder connectionId(ILagRef connectionId) - Parameters:
connectionId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder directConnectGatewayId(String directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
directConnectGatewayId
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder directConnectGatewayId(IDirectConnectGatewayRef directConnectGatewayId) - Parameters:
directConnectGatewayId- This parameter is required.- Returns:
this- See Also:
-
enableSiteLink
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.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 CfnPrivateVirtualInterfacePropsMixin.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 CfnPrivateVirtualInterfacePropsMixin.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:
-
virtualGatewayId
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.Builder virtualGatewayId(String virtualGatewayId) The ID or ARN of the virtual private gateway.- Parameters:
virtualGatewayId- The ID or ARN of the virtual private gateway. This parameter is required.- Returns:
this- See Also:
-
virtualInterfaceName
@Stability(Stable) public CfnPrivateVirtualInterfacePropsMixin.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<CfnPrivateVirtualInterfacePropsMixin>- Returns:
- a newly built instance of
CfnPrivateVirtualInterfacePropsMixin.
-