Interface VPCApi


  • @Path("/")
    public interface VPCApi
    Provides access to VPC Services.

    • Method Detail

      • describeVpcsInRegion

        @Named("DescribeVpcs")
        @POST
        com.google.common.collect.FluentIterable<VPC> describeVpcsInRegion​(@Nullable
                                                                           String region,
                                                                           String... vpcIds)
        Describes all of your VPCs
        Returns:
        VPCs or empty if there are none
        See Also:
        docs
      • createVpc

        @Named("CreateVpc")
        @POST
        VPC createVpc​(@Nullable
                      String region,
                      @FormParam("CidrBlock")
                      String cidrBlock,
                      CreateVpcOptions... options)
        Creates a VPC with the specified CIDR block.
        Parameters:
        region - VPCs are tied to the Region.
        cidrBlock - The network range for the VPC, in CIDR notation. For example, 10.0.0.0/16.
        Returns:
        vpc
        See Also:
        , CreateVpcOptions,
      • deleteVpc

        @Named("DeleteVpc")
        @POST
        boolean deleteVpc​(@Nullable
                          String region,
                          @FormParam("VpcId")
                          String vpcId)
        Deletes VPC.
        Parameters:
        region - VPCs are tied to the Region where its files are located within Amazon S3.
        vpcId - The VPC ID.