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
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:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondryRun()
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.boolean
isDryRun()
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 Details
-
NONE
-
-
Constructor Details
-
CreateVpcOptions
public CreateVpcOptions()
-
-
Method Details
-
withInstanceTenancy
The instanceTenancy of the VPC that was provided during image creation. Default: default, Valid Values: default | dedicated | host -
getInstanceTenancy
-
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()
-