Class CreateRouteRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateRouteRequest>
,Serializable
,Cloneable
Contains the parameters for CreateRoute.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The CIDR address block used for the destination match.This method is intended for internal use only.The ID of an Internet gateway or virtual private gateway attached to your VPC.The ID of a NAT instance in your VPC.The ID of a NAT gateway.The ID of a network interface.The ID of the route table for the route.The ID of a VPC peering connection.int
hashCode()
void
setDestinationCidrBlock
(String destinationCidrBlock) The CIDR address block used for the destination match.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) 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.toString()
Returns a string representation of this object; useful for testing and debugging.withDestinationCidrBlock
(String destinationCidrBlock) The CIDR address block used for the destination match.withGatewayId
(String gatewayId) The ID of an Internet gateway or virtual private gateway attached to your VPC.withInstanceId
(String instanceId) The ID of a NAT instance in your VPC.withNatGatewayId
(String natGatewayId) The ID of a NAT gateway.withNetworkInterfaceId
(String networkInterfaceId) The ID of a network interface.withRouteTableId
(String routeTableId) The ID of the route table for the route.withVpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of a VPC peering connection.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateRouteRequest
public CreateRouteRequest()
-
-
Method Details
-
setRouteTableId
The ID of the route table for the route.
- Parameters:
routeTableId
- The ID of the route table for the route.
-
getRouteTableId
The ID of the route table for the route.
- Returns:
- The ID of the route table for the route.
-
withRouteTableId
The ID of the route table for the route.
- Parameters:
routeTableId
- The ID of the route table for the route.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDestinationCidrBlock
The CIDR address block used for the destination match. Routing decisions are based on the most specific match.
- Parameters:
destinationCidrBlock
- The CIDR address block used for the destination match. Routing decisions are based on the most specific match.
-
getDestinationCidrBlock
The CIDR address block used for the destination match. Routing decisions are based on the most specific match.
- Returns:
- The CIDR address block used for the destination match. Routing decisions are based on the most specific match.
-
withDestinationCidrBlock
The CIDR address block used for the destination match. Routing decisions are based on the most specific match.
- Parameters:
destinationCidrBlock
- The CIDR address block used for the destination match. Routing decisions are based on the most specific match.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setGatewayId
The ID of an Internet gateway or virtual private gateway attached to your VPC.
- Parameters:
gatewayId
- The ID of an Internet gateway or virtual private gateway attached to your VPC.
-
getGatewayId
The ID of an Internet gateway or virtual private gateway attached to your VPC.
- Returns:
- The ID of an Internet gateway or virtual private gateway attached to your VPC.
-
withGatewayId
The ID of an Internet gateway or virtual private gateway attached to your VPC.
- Parameters:
gatewayId
- The ID of an Internet gateway or virtual private gateway attached to your VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withInstanceId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNetworkInterfaceId
The ID of a network interface.
- Parameters:
networkInterfaceId
- The ID of a network interface.
-
getNetworkInterfaceId
The ID of a network interface.
- Returns:
- The ID of a network interface.
-
withNetworkInterfaceId
The ID of a network interface.
- Parameters:
networkInterfaceId
- The ID of a network interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcPeeringConnectionId
The ID of a VPC peering connection.
- Parameters:
vpcPeeringConnectionId
- The ID of a VPC peering connection.
-
getVpcPeeringConnectionId
The ID of a VPC peering connection.
- Returns:
- The ID of a VPC peering connection.
-
withVpcPeeringConnectionId
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.
-
setNatGatewayId
The ID of a NAT gateway.
- Parameters:
natGatewayId
- The ID of a NAT gateway.
-
getNatGatewayId
The ID of a NAT gateway.
- Returns:
- The ID of a NAT gateway.
-
withNatGatewayId
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.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<CreateRouteRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-