org.jclouds.cloudstack.options
Class AddClusterOptions

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

public class AddClusterOptions
extends BaseHttpRequestOptions

Options to the GlobalHostClient.addHost() API call

Author:
Richard Downer

Nested Class Summary
static class AddClusterOptions.Builder
           
 
Field Summary
static AddClusterOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
AddClusterOptions()
           
 
Method Summary
 AddClusterOptions allocationState(AllocationState allocationState)
           
 AddClusterOptions password(String password)
           
 AddClusterOptions podId(long podId)
           
 AddClusterOptions url(String url)
           
 AddClusterOptions username(String username)
           
 
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 AddClusterOptions NONE
Constructor Detail

AddClusterOptions

public AddClusterOptions()
Method Detail

allocationState

public AddClusterOptions allocationState(AllocationState allocationState)
Parameters:
allocationState - Allocation state of this Host for allocation of new resources

password

public AddClusterOptions password(String password)
Parameters:
password - the password for the host

podId

public AddClusterOptions podId(long podId)
Parameters:
podId - the Pod ID for the host

url

public AddClusterOptions url(String url)
Parameters:
url - the URL

username

public AddClusterOptions username(String username)
Parameters:
username - the username for the cluster


Copyright © 2009-2012 jclouds. All Rights Reserved.