Package com.pulumi.aws.ec2.inputs
Class RouteTableRouteArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.ec2.inputs.RouteTableRouteArgs.Builder
-
- Enclosing class:
- RouteTableRouteArgs
public static final class RouteTableRouteArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(RouteTableRouteArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RouteTableRouteArgs
build()
RouteTableRouteArgs.Builder
carrierGatewayId(com.pulumi.core.Output<java.lang.String> carrierGatewayId)
RouteTableRouteArgs.Builder
carrierGatewayId(java.lang.String carrierGatewayId)
RouteTableRouteArgs.Builder
cidrBlock(com.pulumi.core.Output<java.lang.String> cidrBlock)
RouteTableRouteArgs.Builder
cidrBlock(java.lang.String cidrBlock)
RouteTableRouteArgs.Builder
coreNetworkArn(com.pulumi.core.Output<java.lang.String> coreNetworkArn)
RouteTableRouteArgs.Builder
coreNetworkArn(java.lang.String coreNetworkArn)
RouteTableRouteArgs.Builder
destinationPrefixListId(com.pulumi.core.Output<java.lang.String> destinationPrefixListId)
RouteTableRouteArgs.Builder
destinationPrefixListId(java.lang.String destinationPrefixListId)
RouteTableRouteArgs.Builder
egressOnlyGatewayId(com.pulumi.core.Output<java.lang.String> egressOnlyGatewayId)
RouteTableRouteArgs.Builder
egressOnlyGatewayId(java.lang.String egressOnlyGatewayId)
RouteTableRouteArgs.Builder
gatewayId(com.pulumi.core.Output<java.lang.String> gatewayId)
RouteTableRouteArgs.Builder
gatewayId(java.lang.String gatewayId)
RouteTableRouteArgs.Builder
instanceId(com.pulumi.core.Output<java.lang.String> instanceId)
Deprecated.Use network_interface_id insteadRouteTableRouteArgs.Builder
instanceId(java.lang.String instanceId)
Deprecated.Use network_interface_id insteadRouteTableRouteArgs.Builder
ipv6CidrBlock(com.pulumi.core.Output<java.lang.String> ipv6CidrBlock)
RouteTableRouteArgs.Builder
ipv6CidrBlock(java.lang.String ipv6CidrBlock)
RouteTableRouteArgs.Builder
localGatewayId(com.pulumi.core.Output<java.lang.String> localGatewayId)
RouteTableRouteArgs.Builder
localGatewayId(java.lang.String localGatewayId)
RouteTableRouteArgs.Builder
natGatewayId(com.pulumi.core.Output<java.lang.String> natGatewayId)
RouteTableRouteArgs.Builder
natGatewayId(java.lang.String natGatewayId)
RouteTableRouteArgs.Builder
networkInterfaceId(com.pulumi.core.Output<java.lang.String> networkInterfaceId)
RouteTableRouteArgs.Builder
networkInterfaceId(java.lang.String networkInterfaceId)
RouteTableRouteArgs.Builder
transitGatewayId(com.pulumi.core.Output<java.lang.String> transitGatewayId)
RouteTableRouteArgs.Builder
transitGatewayId(java.lang.String transitGatewayId)
RouteTableRouteArgs.Builder
vpcEndpointId(com.pulumi.core.Output<java.lang.String> vpcEndpointId)
RouteTableRouteArgs.Builder
vpcEndpointId(java.lang.String vpcEndpointId)
RouteTableRouteArgs.Builder
vpcPeeringConnectionId(com.pulumi.core.Output<java.lang.String> vpcPeeringConnectionId)
RouteTableRouteArgs.Builder
vpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RouteTableRouteArgs defaults)
-
-
Method Detail
-
carrierGatewayId
public RouteTableRouteArgs.Builder carrierGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> carrierGatewayId)
- Parameters:
carrierGatewayId
- Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.- Returns:
- builder
-
carrierGatewayId
public RouteTableRouteArgs.Builder carrierGatewayId(java.lang.String carrierGatewayId)
- Parameters:
carrierGatewayId
- Identifier of a carrier gateway. This attribute can only be used when the VPC contains a subnet which is associated with a Wavelength Zone.- Returns:
- builder
-
cidrBlock
public RouteTableRouteArgs.Builder cidrBlock(@Nullable com.pulumi.core.Output<java.lang.String> cidrBlock)
- Parameters:
cidrBlock
- The CIDR block of the route.- Returns:
- builder
-
cidrBlock
public RouteTableRouteArgs.Builder cidrBlock(java.lang.String cidrBlock)
- Parameters:
cidrBlock
- The CIDR block of the route.- Returns:
- builder
-
coreNetworkArn
public RouteTableRouteArgs.Builder coreNetworkArn(@Nullable com.pulumi.core.Output<java.lang.String> coreNetworkArn)
- Parameters:
coreNetworkArn
- The Amazon Resource Name (ARN) of a core network.- Returns:
- builder
-
coreNetworkArn
public RouteTableRouteArgs.Builder coreNetworkArn(java.lang.String coreNetworkArn)
- Parameters:
coreNetworkArn
- The Amazon Resource Name (ARN) of a core network.- Returns:
- builder
-
destinationPrefixListId
public RouteTableRouteArgs.Builder destinationPrefixListId(@Nullable com.pulumi.core.Output<java.lang.String> destinationPrefixListId)
- Parameters:
destinationPrefixListId
- The ID of a managed prefix list destination of the route.- Returns:
- builder
-
destinationPrefixListId
public RouteTableRouteArgs.Builder destinationPrefixListId(java.lang.String destinationPrefixListId)
- Parameters:
destinationPrefixListId
- The ID of a managed prefix list destination of the route.- Returns:
- builder
-
egressOnlyGatewayId
public RouteTableRouteArgs.Builder egressOnlyGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> egressOnlyGatewayId)
- Parameters:
egressOnlyGatewayId
- Identifier of a VPC Egress Only Internet Gateway.- Returns:
- builder
-
egressOnlyGatewayId
public RouteTableRouteArgs.Builder egressOnlyGatewayId(java.lang.String egressOnlyGatewayId)
- Parameters:
egressOnlyGatewayId
- Identifier of a VPC Egress Only Internet Gateway.- Returns:
- builder
-
gatewayId
public RouteTableRouteArgs.Builder gatewayId(@Nullable com.pulumi.core.Output<java.lang.String> gatewayId)
- Parameters:
gatewayId
- Identifier of a VPC internet gateway or a virtual private gateway.- Returns:
- builder
-
gatewayId
public RouteTableRouteArgs.Builder gatewayId(java.lang.String gatewayId)
- Parameters:
gatewayId
- Identifier of a VPC internet gateway or a virtual private gateway.- Returns:
- builder
-
instanceId
@Deprecated public RouteTableRouteArgs.Builder instanceId(@Nullable com.pulumi.core.Output<java.lang.String> instanceId)
Deprecated.Use network_interface_id instead- Parameters:
instanceId
- Identifier of an EC2 instance.- Returns:
- builder
-
instanceId
@Deprecated public RouteTableRouteArgs.Builder instanceId(java.lang.String instanceId)
Deprecated.Use network_interface_id instead- Parameters:
instanceId
- Identifier of an EC2 instance.- Returns:
- builder
-
ipv6CidrBlock
public RouteTableRouteArgs.Builder ipv6CidrBlock(@Nullable com.pulumi.core.Output<java.lang.String> ipv6CidrBlock)
- Parameters:
ipv6CidrBlock
- The Ipv6 CIDR block of the route.- Returns:
- builder
-
ipv6CidrBlock
public RouteTableRouteArgs.Builder ipv6CidrBlock(java.lang.String ipv6CidrBlock)
- Parameters:
ipv6CidrBlock
- The Ipv6 CIDR block of the route.- Returns:
- builder
-
localGatewayId
public RouteTableRouteArgs.Builder localGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> localGatewayId)
- Parameters:
localGatewayId
- Identifier of a Outpost local gateway.- Returns:
- builder
-
localGatewayId
public RouteTableRouteArgs.Builder localGatewayId(java.lang.String localGatewayId)
- Parameters:
localGatewayId
- Identifier of a Outpost local gateway.- Returns:
- builder
-
natGatewayId
public RouteTableRouteArgs.Builder natGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> natGatewayId)
- Parameters:
natGatewayId
- Identifier of a VPC NAT gateway.- Returns:
- builder
-
natGatewayId
public RouteTableRouteArgs.Builder natGatewayId(java.lang.String natGatewayId)
- Parameters:
natGatewayId
- Identifier of a VPC NAT gateway.- Returns:
- builder
-
networkInterfaceId
public RouteTableRouteArgs.Builder networkInterfaceId(@Nullable com.pulumi.core.Output<java.lang.String> networkInterfaceId)
- Parameters:
networkInterfaceId
- Identifier of an EC2 network interface.- Returns:
- builder
-
networkInterfaceId
public RouteTableRouteArgs.Builder networkInterfaceId(java.lang.String networkInterfaceId)
- Parameters:
networkInterfaceId
- Identifier of an EC2 network interface.- Returns:
- builder
-
transitGatewayId
public RouteTableRouteArgs.Builder transitGatewayId(@Nullable com.pulumi.core.Output<java.lang.String> transitGatewayId)
- Parameters:
transitGatewayId
- Identifier of an EC2 Transit Gateway.- Returns:
- builder
-
transitGatewayId
public RouteTableRouteArgs.Builder transitGatewayId(java.lang.String transitGatewayId)
- Parameters:
transitGatewayId
- Identifier of an EC2 Transit Gateway.- Returns:
- builder
-
vpcEndpointId
public RouteTableRouteArgs.Builder vpcEndpointId(@Nullable com.pulumi.core.Output<java.lang.String> vpcEndpointId)
- Parameters:
vpcEndpointId
- Identifier of a VPC Endpoint.- Returns:
- builder
-
vpcEndpointId
public RouteTableRouteArgs.Builder vpcEndpointId(java.lang.String vpcEndpointId)
- Parameters:
vpcEndpointId
- Identifier of a VPC Endpoint.- Returns:
- builder
-
vpcPeeringConnectionId
public RouteTableRouteArgs.Builder vpcPeeringConnectionId(@Nullable com.pulumi.core.Output<java.lang.String> vpcPeeringConnectionId)
- Parameters:
vpcPeeringConnectionId
- Identifier of a VPC peering connection.- Returns:
- builder
-
vpcPeeringConnectionId
public RouteTableRouteArgs.Builder vpcPeeringConnectionId(java.lang.String vpcPeeringConnectionId)
- Parameters:
vpcPeeringConnectionId
- Identifier of a VPC peering connection.- Returns:
- builder
-
build
public RouteTableRouteArgs build()
-
-