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