public class CreateInstanceOptions extends BaseHttpRequestOptions
import static org.jclouds.deltacloud.options.CreateInstanceOptions.Builder.*
DeltacloudClient connection = // get connection
ListenableFuture instance = client.createInstance(collection, "imageId", named("robot"));
Modifier and Type | Class and Description |
---|---|
static class |
CreateInstanceOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateInstanceOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateInstanceOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
CreateInstanceOptions |
hardwareProfile(String hwpName)
The hardware profile upon which to launch the instance
|
CreateInstanceOptions |
named(String name)
A short label to identify the instance.
|
CreateInstanceOptions |
realm(String realmId)
The realm in which to launch the instance
|
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateInstanceOptions NONE
public CreateInstanceOptions named(String name)
public CreateInstanceOptions realm(String realmId)
public CreateInstanceOptions hardwareProfile(String hwpName)
public String getName()
Copyright © 2009-2012 jclouds. All Rights Reserved.