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 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 UpdateHostOptions NONE
UpdateHostOptions
public UpdateHostOptions()
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(long osCategoryId)
- Parameters:
osCategoryId
- the id of Os category to update the host with
Copyright © 2009-2012 jclouds. All Rights Reserved.