public class RouteOptions extends BaseEC2RequestOptions
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"));
Modifier and Type | Class and Description |
---|---|
static class |
RouteOptions.Builder |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
RouteOptions() |
Modifier and Type | Method and Description |
---|---|
RouteOptions |
destinationCidrBlock(String destinationCidrBlock)
The IPv4 CIDR address block used for the destination match.
|
RouteOptions |
destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
The IPv6 CIDR block used for the destination match.
|
RouteOptions |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response.
|
RouteOptions |
egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
[IPv6 traffic only] The ID of an egress-only Internet gateway.
|
RouteOptions |
gatewayId(String gatewayId)
The ID of an Internet gateway or virtual private gateway attached to your VPC.
|
String |
getDestinationCidrBlock() |
String |
getDestinationIpv6CidrBlock() |
String |
getEgressOnlyInternetGatewayId() |
String |
getGatewayId() |
String |
getInstanceId() |
String |
getNatGatewayId() |
String |
getNetworkInterfaceId() |
String |
getVpcPeeringConnectionId() |
RouteOptions |
instanceId(String instanceId)
The ID of a NAT instance in your VPC.
|
boolean |
isDryRun() |
RouteOptions |
natGatewayId(String natGatewayId)
[IPv4 traffic only] The ID of a NAT gateway.
|
RouteOptions |
networkInterfaceId(String networkInterfaceId)
The ID of a network interface.
|
RouteOptions |
vpcPeeringConnectionId(String vpcPeeringConnectionId)
The ID of a VPC peering connection.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public RouteOptions dryRun()
public boolean isDryRun()
public RouteOptions destinationCidrBlock(String destinationCidrBlock)
public String getDestinationCidrBlock()
public RouteOptions destinationIpv6CidrBlock(String destinationIpv6CidrBlock)
public String getDestinationIpv6CidrBlock()
public RouteOptions gatewayId(String gatewayId)
public String getGatewayId()
gatewayId(java.lang.String)
public RouteOptions egressOnlyInternetGatewayId(String egressOnlyInternetGatewayId)
public String getEgressOnlyInternetGatewayId()
public RouteOptions natGatewayId(String natGatewayId)
public String getNatGatewayId()
natGatewayId(String)
public RouteOptions networkInterfaceId(String networkInterfaceId)
public String getNetworkInterfaceId()
networkInterfaceId(String)
public RouteOptions instanceId(String instanceId)
public String getInstanceId()
instanceId(String)
public RouteOptions vpcPeeringConnectionId(String vpcPeeringConnectionId)
public String getVpcPeeringConnectionId()
vpcPeeringConnectionId(String)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.