Interface InternetGatewayApi


@Path("/") public interface InternetGatewayApi
Provides access to InternetGateway Services.
See Also:
  • Method Details

    • detachInternetGateway

      @Named("DetachInternetGateway") @POST Boolean detachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId)
      Detaches an InternetGateway from a VPC
      Parameters:
      region - Region where the VPC exists
      internetGatewayId - ID of the gateway to detach
      vpcId - 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 an InternetGateway from a VPC, supplying options.
      Parameters:
      region - Region where the VPC exists
      internetGatewayId - ID of the gateway to detach
      vpcId - The ID of the VPC
      options - Options for the request
    • attachInternetGateway

      @Named("AttachInternetGateway") @POST Boolean attachInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId, @FormParam("VpcId") String vpcId)
      Attaches an InternetGateway to a VPC
      Parameters:
      region - Region where the VPC exists
      internetGatewayId - ID of the gateway to attach
      vpcId - 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 an InternetGateway to a VPC, supplying options.
      Parameters:
      region - Region where the VPC exists
      internetGatewayId - ID of the gateway to attach
      vpcId - The ID of the VPC
      options - Options for the request
    • createInternetGateway

      @Named("CreateInternetGateway") @POST InternetGateway createInternetGateway(@Nullable String region)
      Creates an InternetGateway
      Parameters:
      region - The region to create the gateway in.
    • createInternetGateway

      @Named("CreateInternetGateway") @POST InternetGateway createInternetGateway(@Nullable String region, InternetGatewayOptions options)
      Creates an InternetGateway, supplying options.
      Parameters:
      region - The region to create the gateway in
      options - Options for the request
    • deleteInternetGateway

      @Named("DeleteInternetGateway") @POST boolean deleteInternetGateway(@Nullable String region, @FormParam("InternetGatewayId") String internetGatewayId)
      Deletes an InternetGateway.
      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 an InternetGateway, 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)
      Describes InternetGateways.
      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.