org.jclouds.cloudsigma.options
Class CloneDriveOptions

java.lang.Object
  extended by org.jclouds.cloudsigma.options.CloneDriveOptions

public class CloneDriveOptions
extends Object

Contains options supported for clone drive operations.

Usage

The recommended way to instantiate a CloneDriveOptions object is to statically import CloneDriveOptions.Builder.* and invoke a static creation method followed by an instance mutator (if needed):

import static org.jclouds.cloudsigma.options.CloneDriveOptions.Builder.*; Payload payload = client.cloneDrive("drive-uuid","newName", size(2*1024*1024l));

Author:
Adrian Cole

Nested Class Summary
static class CloneDriveOptions.Builder
           
 
Constructor Summary
CloneDriveOptions()
           
 
Method Summary
 CloneDriveOptions affinity(AffinityType affinity)
          Specifies whether the new drive has 'HDD' affinity (the default) or 'SSD' (for solid-state drives).
 Map<String,String> getOptions()
           
 CloneDriveOptions size(long size)
          adjust to new size in bytes
 CloneDriveOptions tags(String... tags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneDriveOptions

public CloneDriveOptions()
Method Detail

size

public CloneDriveOptions size(long size)
adjust to new size in bytes


tags

public CloneDriveOptions tags(String... tags)

affinity

public CloneDriveOptions affinity(AffinityType affinity)
Specifies whether the new drive has 'HDD' affinity (the default) or 'SSD' (for solid-state drives). Affinity is conveyed via a special value among the drive's tags.


getOptions

public Map<String,String> getOptions()


Copyright © 2009-2012 jclouds. All Rights Reserved.