@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Route extends Object implements Serializable, Cloneable
Describes a route in a route table.
Constructor and Description |
---|
Route() |
Modifier and Type | Method and Description |
---|---|
Route |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The IPv4 CIDR block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match.
|
String |
getDestinationPrefixListId()
The prefix of the AWS service.
|
String |
getEgressOnlyInternetGatewayId()
The ID of the egress-only Internet gateway.
|
String |
getGatewayId()
The ID of a gateway attached to your VPC.
|
String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
String |
getInstanceOwnerId()
The AWS account ID of the owner of the instance.
|
String |
getNatGatewayId()
The ID of a NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of the network interface.
|
String |
getOrigin()
Describes how the route was created.
|
String |
getState()
The state of the route.
|
String |
getVpcPeeringConnectionId()
The ID of the VPC peering connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
|
void |
setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS service.
|
void |
setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
|
void |
setGatewayId(String gatewayId)
The ID of a gateway attached to your VPC.
|
void |
setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
void |
setInstanceOwnerId(String instanceOwnerId)
The AWS account ID of the owner of the instance.
|
void |
setNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
void |
setOrigin(RouteOrigin origin)
Describes how the route was created.
|
void |
setOrigin(String origin)
Describes how the route was created.
|
void |
setState(RouteState state)
The state of the route.
|
void |
setState(String state)
The state of the route.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Route |
withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
|
Route |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
Route |
withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS service.
|
Route |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
|
Route |
withGatewayId(String gatewayId)
The ID of a gateway attached to your VPC.
|
Route |
withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
Route |
withInstanceOwnerId(String instanceOwnerId)
The AWS account ID of the owner of the instance.
|
Route |
withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
Route |
withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
Route |
withOrigin(RouteOrigin origin)
Describes how the route was created.
|
Route |
withOrigin(String origin)
Describes how the route was created.
|
Route |
withState(RouteState state)
The state of the route.
|
Route |
withState(String state)
The state of the route.
|
Route |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
|
public void setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
destinationCidrBlock
- The IPv4 CIDR block used for the destination match.public String getDestinationCidrBlock()
The IPv4 CIDR block used for the destination match.
public Route withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR block used for the destination match.
destinationCidrBlock
- The IPv4 CIDR block used for the destination match.public void setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match.public String getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match.
public Route withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match.public void setDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS service.
destinationPrefixListId
- The prefix of the AWS service.public String getDestinationPrefixListId()
The prefix of the AWS service.
public Route withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS service.
destinationPrefixListId
- The prefix of the AWS service.public void setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
egressOnlyInternetGatewayId
- The ID of the egress-only Internet gateway.public String getEgressOnlyInternetGatewayId()
The ID of the egress-only Internet gateway.
public Route withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of the egress-only Internet gateway.
egressOnlyInternetGatewayId
- The ID of the egress-only Internet gateway.public void setGatewayId(String gatewayId)
The ID of a gateway attached to your VPC.
gatewayId
- The ID of a gateway attached to your VPC.public String getGatewayId()
The ID of a gateway attached to your VPC.
public Route withGatewayId(String gatewayId)
The ID of a gateway attached to your VPC.
gatewayId
- The ID of a gateway attached to your VPC.public void setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
instanceId
- The ID of a NAT instance in your VPC.public String getInstanceId()
The ID of a NAT instance in your VPC.
public Route withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
instanceId
- The ID of a NAT instance in your VPC.public void setInstanceOwnerId(String instanceOwnerId)
The AWS account ID of the owner of the instance.
instanceOwnerId
- The AWS account ID of the owner of the instance.public String getInstanceOwnerId()
The AWS account ID of the owner of the instance.
public Route withInstanceOwnerId(String instanceOwnerId)
The AWS account ID of the owner of the instance.
instanceOwnerId
- The AWS account ID of the owner of the instance.public void setNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
natGatewayId
- The ID of a NAT gateway.public String getNatGatewayId()
The ID of a NAT gateway.
public Route withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
natGatewayId
- The ID of a NAT gateway.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public String getNetworkInterfaceId()
The ID of the network interface.
public Route withNetworkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.public void setOrigin(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.
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.
RouteOrigin
public String getOrigin()
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.
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.
RouteOrigin
public Route withOrigin(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.
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.
RouteOrigin
public void setOrigin(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.
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.
RouteOrigin
public Route withOrigin(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.
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.
RouteOrigin
public void setState(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).
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).RouteState
public String getState()
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).
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).RouteState
public Route withState(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).
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).RouteState
public void setState(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).
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).RouteState
public Route withState(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).
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).RouteState
public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String getVpcPeeringConnectionId()
The ID of the VPC peering connection.
public Route withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of the VPC peering connection.
vpcPeeringConnectionId
- The ID of the VPC peering connection.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.