public class CloneDriveOptions extends Object
import static org.jclouds.cloudsigma.options.CloneDriveOptions.Builder.*;
Payload payload = client.cloneDrive("drive-uuid","newName", size(2*1024*1024l));
| Modifier and Type | Class and Description |
|---|---|
static class |
CloneDriveOptions.Builder |
| Constructor and Description |
|---|
CloneDriveOptions() |
| Modifier and Type | Method and Description |
|---|---|
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) |
public CloneDriveOptions size(long size)
public CloneDriveOptions tags(String... tags)
public CloneDriveOptions affinity(AffinityType affinity)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.