org.jclouds.deltacloud.options
Class CreateInstanceOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.deltacloud.options.CreateInstanceOptions
All Implemented Interfaces:
HttpRequestOptions

public class CreateInstanceOptions
extends BaseHttpRequestOptions

Contains options supported in the Deltacloud API for the Create Instance operation.

Usage

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

import static org.jclouds.deltacloud.options.CreateInstanceOptions.Builder.*

DeltacloudClient connection = // get connection ListenableFuture instance = client.createInstance(collection, "imageId", named("robot"));

Author:
Adrian Cole
See Also:

Nested Class Summary
static class CreateInstanceOptions.Builder
           
 
Field Summary
static CreateInstanceOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateInstanceOptions()
           
 
Method Summary
 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
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final CreateInstanceOptions NONE
Constructor Detail

CreateInstanceOptions

public CreateInstanceOptions()
Method Detail

named

public CreateInstanceOptions named(String name)
A short label to identify the instance.


realm

public CreateInstanceOptions realm(String realmId)
The realm in which to launch the instance


hardwareProfile

public CreateInstanceOptions hardwareProfile(String hwpName)
The hardware profile upon which to launch the instance


getName

public String getName()


Copyright © 2009-2011 jclouds. All Rights Reserved.