Package org.jclouds.ec2.options
Class CreateSnapshotOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.ec2.options.internal.BaseEC2RequestOptions
org.jclouds.ec2.options.CreateSnapshotOptions
- All Implemented Interfaces:
HttpRequestOptions
Contains options supported in the Form API for the CreateSnapshot operation.
Usage
The recommended way to instantiate a CreateSnapshotOptions object is to statically import CreateSnapshotOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):
import static org.jclouds.ec2.options.CreateSnapshotOptions.Builder.*
EC2Api connection = // get connection
Snapshot snapshot = connection.getElasticBlockStoreApi().get().createSnapshotInRegion(volumeId, withDescription("123125"));
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithDescription
(String description) Description of the Amazon EBS snapshot.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
-
Constructor Details
-
CreateSnapshotOptions
public CreateSnapshotOptions()
-
-
Method Details
-
withDescription
Description of the Amazon EBS snapshot. Up to 255 characters -
getDescription
-