Class RouteTableRoute.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.route_table.RouteTableRoute.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<RouteTableRoute>
- Enclosing interface:
- RouteTableRoute
@Stability(Stable) public static final class RouteTableRoute.Builder extends Object implements software.amazon.jsii.Builder<RouteTableRoute>
A builder forRouteTableRoute
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
carrierGatewayId
@Stability(Stable) public RouteTableRoute.Builder carrierGatewayId(String carrierGatewayId)
Sets the value ofRouteTableRoute.getCarrierGatewayId()- Parameters:
carrierGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#carrier_gateway_id RouteTable#carrier_gateway_id}.- Returns:
this
-
cidrBlock
@Stability(Stable) public RouteTableRoute.Builder cidrBlock(String cidrBlock)
Sets the value ofRouteTableRoute.getCidrBlock()- Parameters:
cidrBlock- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#cidr_block RouteTable#cidr_block}.- Returns:
this
-
coreNetworkArn
@Stability(Stable) public RouteTableRoute.Builder coreNetworkArn(String coreNetworkArn)
Sets the value ofRouteTableRoute.getCoreNetworkArn()- Parameters:
coreNetworkArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#core_network_arn RouteTable#core_network_arn}.- Returns:
this
-
destinationPrefixListId
@Stability(Stable) public RouteTableRoute.Builder destinationPrefixListId(String destinationPrefixListId)
Sets the value ofRouteTableRoute.getDestinationPrefixListId()- Parameters:
destinationPrefixListId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#destination_prefix_list_id RouteTable#destination_prefix_list_id}.- Returns:
this
-
egressOnlyGatewayId
@Stability(Stable) public RouteTableRoute.Builder egressOnlyGatewayId(String egressOnlyGatewayId)
Sets the value ofRouteTableRoute.getEgressOnlyGatewayId()- Parameters:
egressOnlyGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#egress_only_gateway_id RouteTable#egress_only_gateway_id}.- Returns:
this
-
gatewayId
@Stability(Stable) public RouteTableRoute.Builder gatewayId(String gatewayId)
Sets the value ofRouteTableRoute.getGatewayId()- Parameters:
gatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#gateway_id RouteTable#gateway_id}.- Returns:
this
-
ipv6CidrBlock
@Stability(Stable) public RouteTableRoute.Builder ipv6CidrBlock(String ipv6CidrBlock)
Sets the value ofRouteTableRoute.getIpv6CidrBlock()- Parameters:
ipv6CidrBlock- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#ipv6_cidr_block RouteTable#ipv6_cidr_block}.- Returns:
this
-
localGatewayId
@Stability(Stable) public RouteTableRoute.Builder localGatewayId(String localGatewayId)
Sets the value ofRouteTableRoute.getLocalGatewayId()- Parameters:
localGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#local_gateway_id RouteTable#local_gateway_id}.- Returns:
this
-
natGatewayId
@Stability(Stable) public RouteTableRoute.Builder natGatewayId(String natGatewayId)
Sets the value ofRouteTableRoute.getNatGatewayId()- Parameters:
natGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#nat_gateway_id RouteTable#nat_gateway_id}.- Returns:
this
-
networkInterfaceId
@Stability(Stable) public RouteTableRoute.Builder networkInterfaceId(String networkInterfaceId)
Sets the value ofRouteTableRoute.getNetworkInterfaceId()- Parameters:
networkInterfaceId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#network_interface_id RouteTable#network_interface_id}.- Returns:
this
-
transitGatewayId
@Stability(Stable) public RouteTableRoute.Builder transitGatewayId(String transitGatewayId)
Sets the value ofRouteTableRoute.getTransitGatewayId()- Parameters:
transitGatewayId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#transit_gateway_id RouteTable#transit_gateway_id}.- Returns:
this
-
vpcEndpointId
@Stability(Stable) public RouteTableRoute.Builder vpcEndpointId(String vpcEndpointId)
Sets the value ofRouteTableRoute.getVpcEndpointId()- Parameters:
vpcEndpointId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#vpc_endpoint_id RouteTable#vpc_endpoint_id}.- Returns:
this
-
vpcPeeringConnectionId
@Stability(Stable) public RouteTableRoute.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
Sets the value ofRouteTableRoute.getVpcPeeringConnectionId()- Parameters:
vpcPeeringConnectionId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route_table#vpc_peering_connection_id RouteTable#vpc_peering_connection_id}.- Returns:
this
-
build
@Stability(Stable) public RouteTableRoute build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RouteTableRoute>- Returns:
- a new instance of
RouteTableRoute - Throws:
NullPointerException- if any required attribute was not provided
-
-