Class CfnLocalGatewayRoutePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLocalGatewayRoutePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayRoutePropsMixin>
- Enclosing class:
CfnLocalGatewayRoutePropsMixin
@Stability(Stable)
public static final class CfnLocalGatewayRoutePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayRoutePropsMixin>
A fluent builder for
CfnLocalGatewayRoutePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) destinationCidrBlock(String destinationCidrBlock) The CIDR block used for destination matches.localGatewayRouteTableId(String localGatewayRouteTableId) The ID of the local gateway route table.localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) The ID of the virtual interface group.networkInterfaceId(String networkInterfaceId) The ID of the network interface.
-
Method Details
-
create
@Stability(Stable) public static CfnLocalGatewayRoutePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnLocalGatewayRoutePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnLocalGatewayRoutePropsMixin.Builder.
-
destinationCidrBlock
@Stability(Stable) public CfnLocalGatewayRoutePropsMixin.Builder destinationCidrBlock(String destinationCidrBlock) The CIDR block used for destination matches.- Parameters:
destinationCidrBlock- The CIDR block used for destination matches. This parameter is required.- Returns:
this- See Also:
-
localGatewayRouteTableId
@Stability(Stable) public CfnLocalGatewayRoutePropsMixin.Builder localGatewayRouteTableId(String localGatewayRouteTableId) The ID of the local gateway route table.- Parameters:
localGatewayRouteTableId- The ID of the local gateway route table. This parameter is required.- Returns:
this- See Also:
-
localGatewayVirtualInterfaceGroupId
@Stability(Stable) public CfnLocalGatewayRoutePropsMixin.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) The ID of the virtual interface group.- Parameters:
localGatewayVirtualInterfaceGroupId- The ID of the virtual interface group. This parameter is required.- Returns:
this- See Also:
-
networkInterfaceId
@Stability(Stable) public CfnLocalGatewayRoutePropsMixin.Builder networkInterfaceId(String networkInterfaceId) The ID of the network interface.- Parameters:
networkInterfaceId- The ID of the network interface. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayRoutePropsMixin>- Returns:
- a newly built instance of
CfnLocalGatewayRoutePropsMixin.
-