public interface SnapshotApi
Modifier and Type | Method and Description |
---|---|
Snapshot |
create(String volumeId,
CreateSnapshotOptions... options)
Creates a new Snapshot.
|
boolean |
delete(String snapshotId)
Delete a Snapshot.
|
Snapshot |
get(String snapshotId)
Return data about the given Snapshot.
|
com.google.common.collect.FluentIterable<? extends Snapshot> |
list()
Returns a summary list of Snapshots.
|
com.google.common.collect.FluentIterable<? extends Snapshot> |
listInDetail()
Returns a detailed list of Snapshots.
|
@Named(value="snapshot:list") com.google.common.collect.FluentIterable<? extends Snapshot> list()
@Named(value="snapshot:list") com.google.common.collect.FluentIterable<? extends Snapshot> listInDetail()
@Named(value="snapshot:get") @Nullable Snapshot get(String snapshotId)
snapshotId
- Id of the Snapshot@Named(value="snapshot:create") Snapshot create(String volumeId, CreateSnapshotOptions... options)
volumeId
- The Volume Id from which to create the Snapshotoptions
- See CreateSnapshotOptions@Named(value="snapshot:delete") boolean delete(String snapshotId)
snapshotId
- Id of the SnapshotCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.