Class CfnLocalGatewayRouteMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLocalGatewayRouteMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLocalGatewayRouteMixinProps>
- Enclosing interface:
CfnLocalGatewayRouteMixinProps
@Stability(Stable)
public static final class CfnLocalGatewayRouteMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLocalGatewayRouteMixinProps>
A builder for
CfnLocalGatewayRouteMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationCidrBlock(String destinationCidrBlock) Sets the value ofCfnLocalGatewayRouteMixinProps.getDestinationCidrBlock()localGatewayRouteTableId(String localGatewayRouteTableId) Sets the value ofCfnLocalGatewayRouteMixinProps.getLocalGatewayRouteTableId()localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) Sets the value ofCfnLocalGatewayRouteMixinProps.getLocalGatewayVirtualInterfaceGroupId()networkInterfaceId(String networkInterfaceId) Sets the value ofCfnLocalGatewayRouteMixinProps.getNetworkInterfaceId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationCidrBlock
@Stability(Stable) public CfnLocalGatewayRouteMixinProps.Builder destinationCidrBlock(String destinationCidrBlock) Sets the value ofCfnLocalGatewayRouteMixinProps.getDestinationCidrBlock()- Parameters:
destinationCidrBlock- The CIDR block used for destination matches.- Returns:
this
-
localGatewayRouteTableId
@Stability(Stable) public CfnLocalGatewayRouteMixinProps.Builder localGatewayRouteTableId(String localGatewayRouteTableId) Sets the value ofCfnLocalGatewayRouteMixinProps.getLocalGatewayRouteTableId()- Parameters:
localGatewayRouteTableId- The ID of the local gateway route table.- Returns:
this
-
localGatewayVirtualInterfaceGroupId
@Stability(Stable) public CfnLocalGatewayRouteMixinProps.Builder localGatewayVirtualInterfaceGroupId(String localGatewayVirtualInterfaceGroupId) Sets the value ofCfnLocalGatewayRouteMixinProps.getLocalGatewayVirtualInterfaceGroupId()- Parameters:
localGatewayVirtualInterfaceGroupId- The ID of the virtual interface group.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public CfnLocalGatewayRouteMixinProps.Builder networkInterfaceId(String networkInterfaceId) Sets the value ofCfnLocalGatewayRouteMixinProps.getNetworkInterfaceId()- Parameters:
networkInterfaceId- The ID of the network interface.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLocalGatewayRouteMixinProps>- Returns:
- a new instance of
CfnLocalGatewayRouteMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-