|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.cloudsigma.options.CloneDriveOptions
public class CloneDriveOptions
Contains options supported for clone drive operations.
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()
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
Copyright © 2009-2012 jclouds. All Rights Reserved.