public class DescribeSnapshotsOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.DescribeSnapshotsOptions.Builder.*
EC2Client connection = // get connection
Set snapshots = connection.getElasticBlockStoreServices().describeSnapshots(restorableBy("123125").snapshotIds(1000, 1004));
Modifier and Type | Class and Description |
---|---|
static class |
DescribeSnapshotsOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
DescribeSnapshotsOptions() |
Modifier and Type | Method and Description |
---|---|
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.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public DescribeSnapshotsOptions restorableBy(String... accountIds)
public String getRestorableBy()
public DescribeSnapshotsOptions snapshotIds(String... snapshotIds)
public DescribeSnapshotsOptions ownedBy(String... owners)
Copyright © 2009-2012 jclouds. All Rights Reserved.