@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 |
getDestinationCidr()
The destination IPv4 address, in CIDR notation.
|
String |
getDestinationPrefixListId()
The prefix of the AWS 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 |
getNatGatewayId()
The ID of a NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of a network interface.
|
String |
getOrigin()
Describes how the route was created.
|
String |
getTransitGatewayId()
The ID of a transit gateway.
|
String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
int |
hashCode() |
void |
setDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
|
void |
setDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS 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 |
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 |
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 |
withDestinationCidr(String destinationCidr)
The destination IPv4 address, in CIDR notation.
|
AnalysisRouteTableRoute |
withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS 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 |
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 |
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 AWS service.
destinationPrefixListId
- The prefix of the AWS service.public String getDestinationPrefixListId()
The prefix of the AWS service.
public AnalysisRouteTableRoute withDestinationPrefixListId(String destinationPrefixListId)
The prefix of the AWS service.
destinationPrefixListId
- The prefix of the AWS 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 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 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 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 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 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 String toString()
toString
in class Object
Object.toString()
public AnalysisRouteTableRoute clone()