Interface Route.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Route.Builder,
,Route> SdkBuilder<Route.Builder,
,Route> SdkPojo
- Enclosing class:
Route
-
Method Summary
Modifier and TypeMethodDescriptioncarrierGatewayId
(String carrierGatewayId) The ID of the carrier gateway.coreNetworkArn
(String coreNetworkArn) The Amazon Resource Name (ARN) of the core network.destinationCidrBlock
(String destinationCidrBlock) The IPv4 CIDR block used for the destination match.destinationIpv6CidrBlock
(String destinationIpv6CidrBlock) The IPv6 CIDR block used for the destination match.destinationPrefixListId
(String destinationPrefixListId) The prefix of the Amazon Web Service.egressOnlyInternetGatewayId
(String egressOnlyInternetGatewayId) The ID of the egress-only internet gateway.The ID of a gateway attached to your VPC.instanceId
(String instanceId) The ID of a NAT instance in your VPC.instanceOwnerId
(String instanceOwnerId) The ID of Amazon Web Services account that owns the instance.localGatewayId
(String localGatewayId) The ID of the local gateway.natGatewayId
(String natGatewayId) The ID of a NAT gateway.networkInterfaceId
(String networkInterfaceId) The ID of the network interface.Describes how the route was created.origin
(RouteOrigin origin) Describes how the route was created.The state of the route.state
(RouteState state) The state of the route.transitGatewayId
(String transitGatewayId) The ID of a transit gateway.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 Details
-
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
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
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
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
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
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
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
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
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
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
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
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
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:
-
-
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:
-
-
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:
-
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:
-
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
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.
-