|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.http.options.BaseHttpRequestOptions org.jclouds.ec2.options.internal.BaseEC2RequestOptions org.jclouds.ec2.options.DescribeSnapshotsOptions
public class DescribeSnapshotsOptions
Contains options supported in the Form API for the DescribeSnapshots operation.
import static org.jclouds.ec2.options.DescribeSnapshotsOptions.Builder.*
EC2Client connection = // get connection
Set snapshots = connection.getElasticBlockStoreServices().describeSnapshots(restorableBy("123125").snapshotIds(1000, 1004));
- Author:
- Adrian Cole
- See Also:
Nested Class Summary
static class
DescribeSnapshotsOptions.Builder
Field Summary
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor Summary
DescribeSnapshotsOptions()
Method Summary
Set<String>
getOwners()
String
getRestorableBy()
Set<String>
getSnapshotIds()
DescribeSnapshotsOptions
ownedBy(String... owners)
Returns snapshots owned by the specified owner.
DescribeSnapshotsOptions
restorableBy(String... accountIds)
Account ID of a user that can create volumes from the snapshot.
DescribeSnapshotsOptions
snapshotIds(String... snapshotIds)
The ID 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, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Constructor Detail
DescribeSnapshotsOptions
public DescribeSnapshotsOptions()
Method Detail
restorableBy
public DescribeSnapshotsOptions restorableBy(String... accountIds)
- Account ID of a user that can create volumes from the snapshot.
getRestorableBy
public String getRestorableBy()
snapshotIds
public DescribeSnapshotsOptions snapshotIds(String... snapshotIds)
- The ID of the Amazon EBS snapshot.
getSnapshotIds
public Set<String> getSnapshotIds()
ownedBy
public DescribeSnapshotsOptions ownedBy(String... owners)
- Returns snapshots owned by the specified owner. Multiple owners can be specified.
Valid Values: self | amazon | AWS Account ID
getOwners
public Set<String> getOwners()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2009-2011 jclouds. All Rights Reserved.