Package org.jclouds.aws.ec2.options
Class CreateVpcOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.ec2.options.internal.BaseEC2RequestOptions
-
- org.jclouds.aws.ec2.options.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 Future
> images = connection.getVpcApi().get().createVpc(withDescription("123125").noReboot());
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateVpcOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static CreateVpcOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description CreateVpcOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateVpcOptions
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.String
getInstanceTenancy()
boolean
isDryRun()
CreateVpcOptions
withInstanceTenancy(String instanceTenancy)
The instanceTenancy of the VPC that was provided during image creation.-
Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
-
-
-
-
Field Detail
-
NONE
public static final CreateVpcOptions NONE
-
-
Method Detail
-
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()
-
-