org.jclouds.cloudstack.options
Class AddClusterOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.AddClusterOptions
- All Implemented Interfaces:
- org.jclouds.http.options.HttpRequestOptions
public class AddClusterOptions
- extends org.jclouds.http.options.BaseHttpRequestOptions
Options to the GlobalHostClient.addHost() API call
- Author:
- Richard Downer
| Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
formParameters, headers, pathSuffix, payload, queryParameters |
| Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, 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(String 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-2013 jclouds. All Rights Reserved.