Class CreateVpcOptions

All Implemented Interfaces:
HttpRequestOptions

public class CreateVpcOptions extends BaseEC2RequestOptions
Contains options supported in the Form API for the CreateVpc operation.

Usage

The recommended way to instantiate a CreateImageOptions object is to statically import CreateVpcOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):

import static org.jclouds.ec2.options.CreateVpcOptions.Builder.*

EC2Api connection = // get connection Futureinvalid input: '<'Set> images = connection.getVpcApi().get().createVpc(withDescription("123125").noReboot());

See Also:
  • Field Details

  • Constructor Details

    • CreateVpcOptions

      public CreateVpcOptions()
  • Method Details

    • withInstanceTenancy

      public CreateVpcOptions withInstanceTenancy(String instanceTenancy)
      The instanceTenancy of the VPC that was provided during image creation.

      Default: default, Valid Values: default | dedicated | host

    • getInstanceTenancy

      public String getInstanceTenancy()
    • dryRun

      public CreateVpcOptions dryRun()
      Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.
    • isDryRun

      public boolean isDryRun()