org.jclouds.cloudstack.options
Class CreateSnapshotOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.AccountInDomainOptions
          extended by org.jclouds.cloudstack.options.CreateSnapshotOptions
All Implemented Interfaces:
HttpRequestOptions

public class CreateSnapshotOptions
extends AccountInDomainOptions

Options for the Snapshot createSnapshot method.

Author:
Richard Downer
See Also:
SnapshotClient.createSnapshot(long, org.jclouds.cloudstack.options.CreateSnapshotOptions...), SnapshotAsyncClient.createSnapshot(long, org.jclouds.cloudstack.options.CreateSnapshotOptions...)

Nested Class Summary
static class CreateSnapshotOptions.Builder
           
 
Field Summary
static CreateSnapshotOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateSnapshotOptions()
           
 
Method Summary
 CreateSnapshotOptions policyId(long policyId)
           
 
Methods inherited from class org.jclouds.cloudstack.options.AccountInDomainOptions
accountInDomain, domainId
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CreateSnapshotOptions NONE
Constructor Detail

CreateSnapshotOptions

public CreateSnapshotOptions()
Method Detail

policyId

public CreateSnapshotOptions policyId(long policyId)
Parameters:
policyId - policy id of the snapshot, if this is null, then use MANUAL_POLICY.


Copyright © 2009-2012 jclouds. All Rights Reserved.