Package org.jclouds.aws.ec2.options
Class RouteOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.ec2.options.internal.BaseEC2RequestOptions
org.jclouds.aws.ec2.options.RouteOptions
- All Implemented Interfaces:
HttpRequestOptions
Contains options supported in the Form API for the Route operations.
Usage
The recommended way to instantiate such an object is to statically import RouteOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):
import static org.jclouds.ec2.options.RouteOptions.Builder.*
EC2Api connection = // get connection
Route r = connection.getRouteTableApi().get()
.createRoute(region, routeTableId, gatewayId("igw-97e68af3").destinationCidrBlock("172.18.19.0/24"));
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondestinationCidrBlock
(String destinationCidrBlock) The IPv4 CIDR address block used for the destination match.destinationIpv6CidrBlock
(String destinationIpv6CidrBlock) The IPv6 CIDR block used for the destination match.dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.egressOnlyInternetGatewayId
(String egressOnlyInternetGatewayId) [IPv6 traffic only] The ID of an egress-only Internet gateway.The ID of an Internet gateway or virtual private gateway attached to your VPC.instanceId
(String instanceId) The ID of a NAT instance in your VPC.boolean
isDryRun()
natGatewayId
(String natGatewayId) [IPv4 traffic only] The ID of a NAT gateway.networkInterfaceId
(String networkInterfaceId) The ID of a network interface.vpcPeeringConnectionId
(String vpcPeeringConnectionId) The ID of a VPC peering connection.Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
Constructor Details
-
RouteOptions
public RouteOptions()
-
-
Method Details
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. -
isDryRun
public boolean isDryRun() -
destinationCidrBlock
The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match. -
getDestinationCidrBlock
- See Also:
-
destinationIpv6CidrBlock
The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match. -
getDestinationIpv6CidrBlock
- See Also:
-
gatewayId
The ID of an Internet gateway or virtual private gateway attached to your VPC. -
getGatewayId
- See Also:
-
egressOnlyInternetGatewayId
[IPv6 traffic only] The ID of an egress-only Internet gateway. -
getEgressOnlyInternetGatewayId
- See Also:
-
natGatewayId
[IPv4 traffic only] The ID of a NAT gateway. -
getNatGatewayId
- See Also:
-
networkInterfaceId
The ID of a network interface. -
getNetworkInterfaceId
- See Also:
-
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
- See Also:
-
vpcPeeringConnectionId
The ID of a VPC peering connection. -
getVpcPeeringConnectionId
- See Also:
-