public static final class CfnRouteProps.Builder
extends java.lang.Object
CfnRouteProps
Constructor and Description |
---|
Builder() |
public CfnRouteProps.Builder routeTableId(java.lang.String routeTableId)
CfnRouteProps.getRouteTableId()
routeTableId
- The ID of the route table. This parameter is required.
The routing table must be associated with the same VPC that the virtual private gateway is attached to.this
public CfnRouteProps.Builder carrierGatewayId(java.lang.String carrierGatewayId)
CfnRouteProps.getCarrierGatewayId()
carrierGatewayId
- The ID of the carrier gateway.this
public CfnRouteProps.Builder destinationCidrBlock(java.lang.String destinationCidrBlock)
CfnRouteProps.getDestinationCidrBlock()
destinationCidrBlock
- The IPv4 CIDR block used for the destination match.this
public CfnRouteProps.Builder destinationIpv6CidrBlock(java.lang.String destinationIpv6CidrBlock)
CfnRouteProps.getDestinationIpv6CidrBlock()
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match.this
public CfnRouteProps.Builder egressOnlyInternetGatewayId(java.lang.String egressOnlyInternetGatewayId)
CfnRouteProps.getEgressOnlyInternetGatewayId()
egressOnlyInternetGatewayId
- The ID of the egress-only internet gateway.this
public CfnRouteProps.Builder gatewayId(java.lang.String gatewayId)
CfnRouteProps.getGatewayId()
gatewayId
- The ID of an internet gateway or virtual private gateway attached to your VPC.this
public CfnRouteProps.Builder instanceId(java.lang.String instanceId)
CfnRouteProps.getInstanceId()
instanceId
- The ID of a NAT instance in your VPC.this
public CfnRouteProps.Builder localGatewayId(java.lang.String localGatewayId)
CfnRouteProps.getLocalGatewayId()
localGatewayId
- The ID of the local gateway.this
public CfnRouteProps.Builder natGatewayId(java.lang.String natGatewayId)
CfnRouteProps.getNatGatewayId()
natGatewayId
- The ID of a NAT gateway.this
public CfnRouteProps.Builder networkInterfaceId(java.lang.String networkInterfaceId)
CfnRouteProps.getNetworkInterfaceId()
networkInterfaceId
- The ID of the network interface.this
public CfnRouteProps.Builder transitGatewayId(java.lang.String transitGatewayId)
CfnRouteProps.getTransitGatewayId()
transitGatewayId
- The ID of a transit gateway.this
public CfnRouteProps.Builder vpcEndpointId(java.lang.String vpcEndpointId)
CfnRouteProps.getVpcEndpointId()
vpcEndpointId
- The ID of a VPC endpoint.
Supported for Gateway Load Balancer endpoints only.this
public CfnRouteProps.Builder vpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
CfnRouteProps.getVpcPeeringConnectionId()
vpcPeeringConnectionId
- The ID of a VPC peering connection.this
public CfnRouteProps build()
CfnRouteProps
java.lang.NullPointerException
- if any required attribute was not provided