public class CreateSnapshotOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.CreateSnapshotOptions.Builder.*
EC2Client connection = // get connection
Snapshot snapshot = connection.getElasticBlockStoreServices().createSnapshotInRegion(volumeId, withDescription("123125"));
Modifier and Type | Class and Description |
---|---|
static class |
CreateSnapshotOptions.Builder |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateSnapshotOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
CreateSnapshotOptions |
withDescription(String description)
Description of the Amazon EBS snapshot.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public CreateSnapshotOptions withDescription(String description)
public String getDescription()
Copyright © 2009-2012 jclouds. All Rights Reserved.