org.jclouds.cloudstack.options
Class CreateSnapshotOptions.Builder

java.lang.Object
  extended by org.jclouds.cloudstack.options.CreateSnapshotOptions.Builder
Enclosing class:
CreateSnapshotOptions

public static class CreateSnapshotOptions.Builder
extends Object


Constructor Summary
CreateSnapshotOptions.Builder()
           
 
Method Summary
static CreateSnapshotOptions accountInDomain(String account, long domainId)
           
static CreateSnapshotOptions domainId(long domainId)
           
static CreateSnapshotOptions policyId(long policyId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateSnapshotOptions.Builder

public CreateSnapshotOptions.Builder()
Method Detail

accountInDomain

public static CreateSnapshotOptions accountInDomain(String account,
                                                    long domainId)
Parameters:
account - The account of the snapshot.
domainId - The domain ID of the snapshot.

domainId

public static CreateSnapshotOptions domainId(long domainId)
Parameters:
domainId - The domain ID of the snapshot.

policyId

public static 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.