Interface Route.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Route.Builder,Route>
,SdkBuilder<Route.Builder,Route>
,SdkPojo
- Enclosing class:
- Route
public static interface Route.Builder extends SdkPojo, CopyableBuilder<Route.Builder,Route>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Route.Builder
carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.Route.Builder
coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.Route.Builder
destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.Route.Builder
destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.Route.Builder
destinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.Route.Builder
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.Route.Builder
gatewayId(String gatewayId)
The ID of a gateway attached to your VPC.Route.Builder
instanceId(String instanceId)
The ID of a NAT instance in your VPC.Route.Builder
instanceOwnerId(String instanceOwnerId)
The ID of Amazon Web Services account that owns the instance.Route.Builder
localGatewayId(String localGatewayId)
The ID of the local gateway.Route.Builder
natGatewayId(String natGatewayId)
The ID of a NAT gateway.Route.Builder
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.Route.Builder
origin(String origin)
Describes how the route was created.Route.Builder
origin(RouteOrigin origin)
Describes how the route was created.Route.Builder
state(String state)
The state of the route.Route.Builder
state(RouteState state)
The state of the route.Route.Builder
transitGatewayId(String transitGatewayId)
The ID of a transit gateway.Route.Builder
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
destinationCidrBlock
Route.Builder destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
- Parameters:
destinationCidrBlock
- The IPv4 CIDR block used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationIpv6CidrBlock
Route.Builder destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
- Parameters:
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationPrefixListId
Route.Builder destinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.
- Parameters:
destinationPrefixListId
- The prefix of the Amazon Web Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
egressOnlyInternetGatewayId
Route.Builder egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only internet gateway.
- Parameters:
egressOnlyInternetGatewayId
- The ID of the egress-only internet gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
Route.Builder gatewayId(String gatewayId)
The ID of a gateway attached to your VPC.
- Parameters:
gatewayId
- The ID of a gateway attached to your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
Route.Builder instanceId(String instanceId)
The ID of a NAT instance in your VPC.
- Parameters:
instanceId
- The ID of a NAT instance in your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceOwnerId
Route.Builder instanceOwnerId(String instanceOwnerId)
The ID of Amazon Web Services account that owns the instance.
- Parameters:
instanceOwnerId
- The ID of Amazon Web Services account that owns the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
natGatewayId
Route.Builder natGatewayId(String natGatewayId)
The ID of a NAT gateway.
- Parameters:
natGatewayId
- The ID of a NAT gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
Route.Builder transitGatewayId(String transitGatewayId)
The ID of a transit gateway.
- Parameters:
transitGatewayId
- The ID of a transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayId
Route.Builder localGatewayId(String localGatewayId)
The ID of the local gateway.
- Parameters:
localGatewayId
- The ID of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
carrierGatewayId
Route.Builder carrierGatewayId(String carrierGatewayId)
The ID of the carrier gateway.
- Parameters:
carrierGatewayId
- The ID of the carrier gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaceId
Route.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
- Parameters:
networkInterfaceId
- The ID of the network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
Route.Builder origin(String origin)
Describes how the route was created.
-
CreateRouteTable
- The route was automatically created when the route table was created. -
CreateRoute
- The route was manually added to the route table. -
EnableVgwRoutePropagation
- The route was propagated by route propagation.
- Parameters:
origin
- Describes how the route was created.-
CreateRouteTable
- The route was automatically created when the route table was created. -
CreateRoute
- The route was manually added to the route table. -
EnableVgwRoutePropagation
- The route was propagated by route propagation.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteOrigin
,RouteOrigin
-
-
origin
Route.Builder origin(RouteOrigin origin)
Describes how the route was created.
-
CreateRouteTable
- The route was automatically created when the route table was created. -
CreateRoute
- The route was manually added to the route table. -
EnableVgwRoutePropagation
- The route was propagated by route propagation.
- Parameters:
origin
- Describes how the route was created.-
CreateRouteTable
- The route was automatically created when the route table was created. -
CreateRoute
- The route was manually added to the route table. -
EnableVgwRoutePropagation
- The route was propagated by route propagation.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteOrigin
,RouteOrigin
-
-
state
Route.Builder state(String state)
The state of the route. The
blackhole
state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).- Parameters:
state
- The state of the route. Theblackhole
state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteState
,RouteState
-
state
Route.Builder state(RouteState state)
The state of the route. The
blackhole
state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).- Parameters:
state
- The state of the route. Theblackhole
state indicates that the route's target isn't available (for example, the specified gateway isn't attached to the VPC, or the specified NAT instance has been terminated).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RouteState
,RouteState
-
vpcPeeringConnectionId
Route.Builder vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of a VPC peering connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreNetworkArn
Route.Builder coreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of the core network.
- Parameters:
coreNetworkArn
- The Amazon Resource Name (ARN) of the core network.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-