Class RouteOptions

All Implemented Interfaces:
HttpRequestOptions

public class RouteOptions extends BaseEC2RequestOptions
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:
  • Constructor Details

    • RouteOptions

      public RouteOptions()
  • Method Details

    • dryRun

      public RouteOptions 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

      public RouteOptions destinationCidrBlock(String destinationCidrBlock)
      The IPv4 CIDR address block used for the destination match. Routing decisions are based on the most specific match.
    • getDestinationCidrBlock

      public String getDestinationCidrBlock()
      See Also:
    • destinationIpv6CidrBlock

      public RouteOptions destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
      The IPv6 CIDR block used for the destination match. Routing decisions are based on the most specific match.
    • getDestinationIpv6CidrBlock

      public String getDestinationIpv6CidrBlock()
      See Also:
    • gatewayId

      public RouteOptions gatewayId(String gatewayId)
      The ID of an Internet gateway or virtual private gateway attached to your VPC.
    • getGatewayId

      public String getGatewayId()
      See Also:
    • egressOnlyInternetGatewayId

      public RouteOptions egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
      [IPv6 traffic only] The ID of an egress-only Internet gateway.
    • getEgressOnlyInternetGatewayId

      public String getEgressOnlyInternetGatewayId()
      See Also:
    • natGatewayId

      public RouteOptions natGatewayId(String natGatewayId)
      [IPv4 traffic only] The ID of a NAT gateway.
    • getNatGatewayId

      public String getNatGatewayId()
      See Also:
    • networkInterfaceId

      public RouteOptions networkInterfaceId(String networkInterfaceId)
      The ID of a network interface.
    • getNetworkInterfaceId

      public String getNetworkInterfaceId()
      See Also:
    • instanceId

      public RouteOptions instanceId(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.
    • getInstanceId

      public String getInstanceId()
      See Also:
    • vpcPeeringConnectionId

      public RouteOptions vpcPeeringConnectionId(String vpcPeeringConnectionId)
      The ID of a VPC peering connection.
    • getVpcPeeringConnectionId

      public String getVpcPeeringConnectionId()
      See Also: