Package org.jclouds.aws.ec2.features
Interface InternetGatewayApi
-
@Path("/") public interface InternetGatewayApiProvides access to InternetGateway Services.- See Also:
- InternetGateway docs
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanattachInternetGateway(String region, String internetGatewayId, String vpcId)Attaches anInternetGatewayto aVPCBooleanattachInternetGateway(String region, String internetGatewayId, String vpcId, InternetGatewayOptions options)Attaches anInternetGatewayto aVPC, supplying options.InternetGatewaycreateInternetGateway(String region)Creates anInternetGatewayInternetGatewaycreateInternetGateway(String region, InternetGatewayOptions options)Creates anInternetGateway, supplying options.booleandeleteInternetGateway(String region, String internetGatewayId)Deletes anInternetGateway.booleandeleteInternetGateway(String region, String internetGatewayId, InternetGatewayOptions options)Deletes anInternetGateway, supplying options.com.google.common.collect.FluentIterable<InternetGateway>describeInternetGatewaysInRegion(String region, String... internetGatewayIds)DescribesInternetGateways.BooleandetachInternetGateway(String region, String internetGatewayId, String vpcId)Detaches anInternetGatewayfrom aVPCBooleandetachInternetGateway(String region, String internetGatewayId, String vpcId, InternetGatewayOptions options)Detaches anInternetGatewayfrom aVPC, supplying options.
-
-
-
Method Detail
-
detachInternetGateway
@Named("DetachInternetGateway") @POST Boolean detachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId)Detaches anInternetGatewayfrom 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 anInternetGatewayfrom 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 anInternetGatewayto 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 anInternetGatewayto 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)DescribesInternetGateways.- 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.
-
-