public class CreateSnapshotOptions extends BaseEC2RequestOptions
import static org.jclouds.ec2.options.CreateSnapshotOptions.Builder.*
EC2Api connection = // get connection
Snapshot snapshot = connection.getElasticBlockStoreApi().get().createSnapshotInRegion(volumeId, withDescription("123125"));
Modifier and Type | Class and Description |
---|---|
static class |
CreateSnapshotOptions.Builder |
formParameters, headers, 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public CreateSnapshotOptions withDescription(String description)
public String getDescription()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.