Package org.jclouds.ec2.options
Class DescribeSnapshotsOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.ec2.options.internal.BaseEC2RequestOptions
org.jclouds.ec2.options.DescribeSnapshotsOptions
- All Implemented Interfaces:
 HttpRequestOptions
Contains options supported in the Form API for the DescribeSnapshots operation. 
Usage
The recommended way to instantiate a DescribeSnapshotsOptions object is to statically import DescribeSnapshotsOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):
 import static org.jclouds.ec2.options.DescribeSnapshotsOptions.Builder.*
 
 EC2Api connection = // get connection
 Set snapshots = connection.getElasticBlockStoreApi().get().describeSnapshots(restorableBy("123125").snapshotIds(1000, 1004));
  - 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 TypeMethodDescriptionReturns snapshots owned by the specified owner.restorableBy(String... accountIds) Account ID of a user that can create volumes from the snapshot.snapshotIds(String... snapshotIds) The ID of the Amazon EBS snapshot.Methods inherited from class org.jclouds.ec2.options.internal.BaseEC2RequestOptions
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toStringMethods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader 
- 
Constructor Details
- 
DescribeSnapshotsOptions
public DescribeSnapshotsOptions() 
 - 
 - 
Method Details
- 
restorableBy
Account ID of a user that can create volumes from the snapshot. - 
getRestorableBy
 - 
snapshotIds
The ID of the Amazon EBS snapshot. - 
getSnapshotIds
 - 
ownedBy
Returns snapshots owned by the specified owner. Multiple owners can be specified. Valid Values: self | amazon | AWS Account ID - 
getOwners
 
 -