@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalysisRouteTableRoute extends Object implements Serializable, Cloneable
Describes a route table route.
Constructor and Description |
---|
AnalysisRouteTableRoute() |
Modifier and Type | Method and Description |
---|---|
AnalysisRouteTableRoute |
clone() |
boolean |
equals(Object obj) |
String |
getCarrierGatewayId()
The ID of a carrier gateway.
|
String |
getCoreNetworkArn()
The Amazon Resource Name (ARN) of a core network.
|
String |
getDestinationCidr()
The destination IPv4 address, in CIDR notation.
|
String |
getDestinationPrefixListId()
The prefix of the Amazon Web Service.
|
String |
getEgressOnlyInternetGatewayId()
The ID of an egress-only internet gateway.
|
String |
getGatewayId()
The ID of the gateway, such as an internet gateway or virtual private gateway.
|
String |
getInstanceId()
The ID of the instance, such as a NAT instance.
|
String |
getLocalGatewayId()
The ID of a local gateway.
|
String |
getNatGatewayId()
The ID of a NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of a network interface.
|
String |
getOrigin()
Describes how the route was created.
|
String |
getState()
The state.
|
String |
getTransitGatewayId()
The ID of a transit gateway.
|
String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
int |
hashCode() |
void |
setCarrierGatewayId(String carrierGatewayId)
The ID of a carrier gateway.
|
void |
setCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of a core network.
|
void |
setDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.
|
void |
setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of an egress-only internet gateway.
|
void |
setGatewayId(String gatewayId)
The ID of the gateway, such as an internet gateway or virtual private gateway.
|
void |
setInstanceId(String instanceId)
The ID of the instance, such as a NAT instance.
|
void |
setLocalGatewayId(String localGatewayId)
The ID of a local gateway.
|
void |
setNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
void |
setOrigin(String origin)
Describes how the route was created.
|
void |
setState(String state)
The state.
|
void |
setTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
String |
toString()
Returns a string representation of this object.
|
AnalysisRouteTableRoute |
withCarrierGatewayId(String carrierGatewayId)
The ID of a carrier gateway.
|
AnalysisRouteTableRoute |
withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of a core network.
|
AnalysisRouteTableRoute |
withDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
|
AnalysisRouteTableRoute |
withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.
|
AnalysisRouteTableRoute |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of an egress-only internet gateway.
|
AnalysisRouteTableRoute |
withGatewayId(String gatewayId)
The ID of the gateway, such as an internet gateway or virtual private gateway.
|
AnalysisRouteTableRoute |
withInstanceId(String instanceId)
The ID of the instance, such as a NAT instance.
|
AnalysisRouteTableRoute |
withLocalGatewayId(String localGatewayId)
The ID of a local gateway.
|
AnalysisRouteTableRoute |
withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
|
AnalysisRouteTableRoute |
withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
AnalysisRouteTableRoute |
withOrigin(String origin)
Describes how the route was created.
|
AnalysisRouteTableRoute |
withState(String state)
The state.
|
AnalysisRouteTableRoute |
withTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
|
AnalysisRouteTableRoute |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
public void setDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
destinationCidr
- The destination IPv4 address, in CIDR notation.public String getDestinationCidr()
The destination IPv4 address, in CIDR notation.
public AnalysisRouteTableRoute withDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
destinationCidr
- The destination IPv4 address, in CIDR notation.public void setDestinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.
destinationPrefixListId
- The prefix of the Amazon Web Service.public String getDestinationPrefixListId()
The prefix of the Amazon Web Service.
public AnalysisRouteTableRoute withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the Amazon Web Service.
destinationPrefixListId
- The prefix of the Amazon Web Service.public void setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of an egress-only internet gateway.
egressOnlyInternetGatewayId
- The ID of an egress-only internet gateway.public String getEgressOnlyInternetGatewayId()
The ID of an egress-only internet gateway.
public AnalysisRouteTableRoute withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
The ID of an egress-only internet gateway.
egressOnlyInternetGatewayId
- The ID of an egress-only internet gateway.public void setGatewayId(String gatewayId)
The ID of the gateway, such as an internet gateway or virtual private gateway.
gatewayId
- The ID of the gateway, such as an internet gateway or virtual private gateway.public String getGatewayId()
The ID of the gateway, such as an internet gateway or virtual private gateway.
public AnalysisRouteTableRoute withGatewayId(String gatewayId)
The ID of the gateway, such as an internet gateway or virtual private gateway.
gatewayId
- The ID of the gateway, such as an internet gateway or virtual private gateway.public void setInstanceId(String instanceId)
The ID of the instance, such as a NAT instance.
instanceId
- The ID of the instance, such as a NAT instance.public String getInstanceId()
The ID of the instance, such as a NAT instance.
public AnalysisRouteTableRoute withInstanceId(String instanceId)
The ID of the instance, such as a NAT instance.
instanceId
- The ID of the instance, such as a NAT 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 AnalysisRouteTableRoute withNatGatewayId(String natGatewayId)
The ID of a NAT gateway.
natGatewayId
- The ID of a NAT gateway.public void setNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.public String getNetworkInterfaceId()
The ID of a network interface.
public AnalysisRouteTableRoute withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.public void setOrigin(String origin)
Describes how the route was created. The following are the possible values:
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. The following are the possible values:
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.
public String getOrigin()
Describes how the route was created. The following are the possible values:
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.
public AnalysisRouteTableRoute withOrigin(String origin)
Describes how the route was created. The following are the possible values:
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. The following are the possible values:
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.
public void setTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
transitGatewayId
- The ID of a transit gateway.public String getTransitGatewayId()
The ID of a transit gateway.
public AnalysisRouteTableRoute withTransitGatewayId(String transitGatewayId)
The ID of a transit gateway.
transitGatewayId
- The ID of a transit gateway.public void setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.public String getVpcPeeringConnectionId()
The ID of a VPC peering connection.
public AnalysisRouteTableRoute withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.public void setState(String state)
The state. The following are the possible values:
active
blackhole
state
- The state. The following are the possible values:
active
blackhole
public String getState()
The state. The following are the possible values:
active
blackhole
active
blackhole
public AnalysisRouteTableRoute withState(String state)
The state. The following are the possible values:
active
blackhole
state
- The state. The following are the possible values:
active
blackhole
public void setCarrierGatewayId(String carrierGatewayId)
The ID of a carrier gateway.
carrierGatewayId
- The ID of a carrier gateway.public String getCarrierGatewayId()
The ID of a carrier gateway.
public AnalysisRouteTableRoute withCarrierGatewayId(String carrierGatewayId)
The ID of a carrier gateway.
carrierGatewayId
- The ID of a carrier gateway.public void setCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of a core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of a core network.public String getCoreNetworkArn()
The Amazon Resource Name (ARN) of a core network.
public AnalysisRouteTableRoute withCoreNetworkArn(String coreNetworkArn)
The Amazon Resource Name (ARN) of a core network.
coreNetworkArn
- The Amazon Resource Name (ARN) of a core network.public void setLocalGatewayId(String localGatewayId)
The ID of a local gateway.
localGatewayId
- The ID of a local gateway.public String getLocalGatewayId()
The ID of a local gateway.
public AnalysisRouteTableRoute withLocalGatewayId(String localGatewayId)
The ID of a local gateway.
localGatewayId
- The ID of a local gateway.public String toString()
toString
in class Object
Object.toString()
public AnalysisRouteTableRoute clone()