@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRouteRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateRouteRequest>
Contains the parameters for CreateRoute.
NOOP
Constructor and Description |
---|
CreateRouteRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRouteRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDestinationCidrBlock()
The IPv4 CIDR address block used for the destination match.
|
String |
getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match.
|
Request<CreateRouteRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getEgressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
String |
getGatewayId()
The ID of an Internet gateway or virtual private gateway attached to your VPC.
|
String |
getInstanceId()
The ID of a NAT instance in your VPC.
|
String |
getNatGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
|
String |
getNetworkInterfaceId()
The ID of a network interface.
|
String |
getRouteTableId()
The ID of the route table for the route.
|
String |
getVpcPeeringConnectionId()
The ID of a VPC peering connection.
|
int |
hashCode() |
void |
setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.
|
void |
setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
void |
setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
void |
setGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
|
void |
setInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
void |
setNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
|
void |
setNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
void |
setRouteTableId(String routeTableId)
The ID of the route table for the route.
|
void |
setVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRouteRequest |
withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.
|
CreateRouteRequest |
withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
CreateRouteRequest |
withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
CreateRouteRequest |
withGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
|
CreateRouteRequest |
withInstanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
CreateRouteRequest |
withNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
|
CreateRouteRequest |
withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
CreateRouteRequest |
withRouteTableId(String routeTableId)
The ID of the route table for the route.
|
CreateRouteRequest |
withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match.public String getDestinationCidrBlock()
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
public CreateRouteRequest withDestinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
destinationCidrBlock
- The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most
specific match.public void setDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific
match.public String getDestinationIpv6CidrBlock()
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
public CreateRouteRequest withDestinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
destinationIpv6CidrBlock
- The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific
match.public void setEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only Internet gateway.public String getEgressOnlyInternetGatewayId()
[IPv6 traffic only] The ID of an egress-only Internet gateway.
public CreateRouteRequest withEgressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
egressOnlyInternetGatewayId
- [IPv6 traffic only] The ID of an egress-only Internet gateway.public void setGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
gatewayId
- The ID of an Internet gateway or virtual private gateway attached to your VPC.public String getGatewayId()
The ID of an Internet gateway or virtual private gateway attached to your VPC.
public CreateRouteRequest withGatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
gatewayId
- The ID of an Internet gateway or virtual private gateway attached to your VPC.public void setInstanceId(String instanceId)
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
instanceId
- The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one
network interface is attached.public String getInstanceId()
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
public CreateRouteRequest withInstanceId(String instanceId)
The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one network interface is attached.
instanceId
- The ID of a NAT instance in your VPC. The operation fails if you specify an instance ID unless exactly one
network interface is attached.public void setNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
natGatewayId
- [IPv4 traffic only] The ID of a NAT gateway.public String getNatGatewayId()
[IPv4 traffic only] The ID of a NAT gateway.
public CreateRouteRequest withNatGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
natGatewayId
- [IPv4 traffic only] 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 CreateRouteRequest withNetworkInterfaceId(String networkInterfaceId)
The ID of a network interface.
networkInterfaceId
- The ID of a network interface.public void setRouteTableId(String routeTableId)
The ID of the route table for the route.
routeTableId
- The ID of the route table for the route.public String getRouteTableId()
The ID of the route table for the route.
public CreateRouteRequest withRouteTableId(String routeTableId)
The ID of the route table for the route.
routeTableId
- The ID of the route table for the route.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 CreateRouteRequest withVpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
vpcPeeringConnectionId
- The ID of a VPC peering connection.public Request<CreateRouteRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateRouteRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateRouteRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.