public class DescribeSnapshotsOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.DescribeSnapshotsOptions.Builder.*
EC2Api connection = // get connection
Set snapshots = connection.getElasticBlockStoreApi().get().describeSnapshots(restorableBy("123125").snapshotIds(1000, 1004));
Modifier and Type | Class and Description |
---|---|
static class |
DescribeSnapshotsOptions.Builder |
formParameters, headers, 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public DescribeSnapshotsOptions restorableBy(String... accountIds)
public String getRestorableBy()
public DescribeSnapshotsOptions snapshotIds(String... snapshotIds)
public DescribeSnapshotsOptions ownedBy(String... owners)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.