Package org.jclouds.cloudstack.options
Class AddHostOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.AddHostOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class AddHostOptions extends BaseHttpRequestOptions
Options to the GlobalHostApi.addHost() API call
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddHostOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static AddHostOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description AddHostOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddHostOptions
allocationState(AllocationState allocationState)
AddHostOptions
clusterId(String clusterId)
AddHostOptions
clusterName(String clusterName)
AddHostOptions
hostTags(Set<String> hostTags)
AddHostOptions
podId(String podId)
-
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 AddHostOptions NONE
-
-
Method Detail
-
allocationState
public AddHostOptions allocationState(AllocationState allocationState)
- Parameters:
allocationState
- Allocation state of this Host for allocation of new resources
-
clusterId
public AddHostOptions clusterId(String clusterId)
- Parameters:
clusterId
- the cluster ID for the host
-
clusterName
public AddHostOptions clusterName(String clusterName)
- Parameters:
clusterName
- the cluster name for the host
-
hostTags
public AddHostOptions hostTags(Set<String> hostTags)
- Parameters:
hostTags
- list of tags to be added to the host
-
podId
public AddHostOptions podId(String podId)
- Parameters:
podId
- the Pod ID for the host
-
-