Package org.jclouds.aws.ec2.features
Interface InternetGatewayApi
-
@Path("/") public interface InternetGatewayApi
Provides access to InternetGateway Services.- See Also:
- InternetGateway docs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Boolean
attachInternetGateway(String region, String internetGatewayId, String vpcId)
Attaches anInternetGateway
to aVPC
Boolean
attachInternetGateway(String region, String internetGatewayId, String vpcId, InternetGatewayOptions options)
Attaches anInternetGateway
to aVPC
, supplying options.InternetGateway
createInternetGateway(String region)
Creates anInternetGateway
InternetGateway
createInternetGateway(String region, InternetGatewayOptions options)
Creates anInternetGateway
, supplying options.boolean
deleteInternetGateway(String region, String internetGatewayId)
Deletes anInternetGateway
.boolean
deleteInternetGateway(String region, String internetGatewayId, InternetGatewayOptions options)
Deletes anInternetGateway
, supplying options.com.google.common.collect.FluentIterable<InternetGateway>
describeInternetGatewaysInRegion(String region, String... internetGatewayIds)
DescribesInternetGateway
s.Boolean
detachInternetGateway(String region, String internetGatewayId, String vpcId)
Detaches anInternetGateway
from aVPC
Boolean
detachInternetGateway(String region, String internetGatewayId, String vpcId, InternetGatewayOptions options)
Detaches anInternetGateway
from aVPC
, supplying options.
-
-
-
Method Detail
-
detachInternetGateway
@Named("DetachInternetGateway") @POST Boolean detachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId)
Detaches anInternetGateway
from aVPC
- Parameters:
region
- Region where the VPC existsinternetGatewayId
- ID of the gateway to detachvpcId
- The ID of the VPC
-
detachInternetGateway
@Named("DetachInternetGateway") @POST Boolean detachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId, InternetGatewayOptions options)
Detaches anInternetGateway
from aVPC
, supplying options.- Parameters:
region
- Region where the VPC existsinternetGatewayId
- ID of the gateway to detachvpcId
- The ID of the VPCoptions
- Options for the request
-
attachInternetGateway
@Named("AttachInternetGateway") @POST Boolean attachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId)
Attaches anInternetGateway
to aVPC
- Parameters:
region
- Region where the VPC existsinternetGatewayId
- ID of the gateway to attachvpcId
- The ID of the VPC
-
attachInternetGateway
@Named("AttachInternetGateway") @POST Boolean attachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId, InternetGatewayOptions options)
Attaches anInternetGateway
to aVPC
, supplying options.- Parameters:
region
- Region where the VPC existsinternetGatewayId
- ID of the gateway to attachvpcId
- The ID of the VPCoptions
- Options for the request
-
createInternetGateway
@Named("CreateInternetGateway") @POST InternetGateway createInternetGateway(@Nullable String region)
Creates anInternetGateway
- Parameters:
region
- The region to create the gateway in.
-
createInternetGateway
@Named("CreateInternetGateway") @POST InternetGateway createInternetGateway(@Nullable String region, InternetGatewayOptions options)
Creates anInternetGateway
, supplying options.- Parameters:
region
- The region to create the gateway inoptions
- Options for the request
-
deleteInternetGateway
@Named("DeleteInternetGateway") @POST boolean deleteInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId)
Deletes anInternetGateway
.- Parameters:
region
- gateways are tied to the Region where its files are located within Amazon S3.internetGatewayId
- The gateway ID.
-
deleteInternetGateway
@Named("DeleteInternetGateway") @POST boolean deleteInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, InternetGatewayOptions options)
Deletes anInternetGateway
, supplying options.- Parameters:
region
- gateways are tied to the Region where its files are located within Amazon S3.internetGatewayId
- The gateway ID.options
- Options for the request
-
describeInternetGatewaysInRegion
@Named("DescribeInternetGateways") @POST com.google.common.collect.FluentIterable<InternetGateway> describeInternetGatewaysInRegion(@Nullable String region, String... internetGatewayIds)
DescribesInternetGateway
s.- Parameters:
region
- The region to search for gateways.internetGatewayIds
- Optional list of known gateway ids to restrict the search- Returns:
- InternetGateways or empty if there are none.
-
-