org.jclouds.cloudstack.options
Class AddClusterOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AddClusterOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class AddClusterOptions
- extends BaseHttpRequestOptions
Options to the GlobalHostClient.addHost() API call
- Author:
- Richard Downer
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final AddClusterOptions NONE
AddClusterOptions
public AddClusterOptions()
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.