Package 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 GlobalHostApi.addHost() API call
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAddClusterOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static AddClusterOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description AddClusterOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddClusterOptionsallocationState(AllocationState allocationState)AddClusterOptionspassword(String password)AddClusterOptionspodId(String podId)AddClusterOptionsurl(String url)AddClusterOptionsusername(String username)-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final AddClusterOptions NONE
-
-
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(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
-
-