org.jclouds.cloudstack.options
Class UpdateHostOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.UpdateHostOptions
All Implemented Interfaces:
HttpRequestOptions

public class UpdateHostOptions
extends BaseHttpRequestOptions

Options to the GlobalHostClient.addHost() API call

Author:
Richard Downer

Nested Class Summary
static class UpdateHostOptions.Builder
           
 
Field Summary
static UpdateHostOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateHostOptions()
           
 
Method Summary
 UpdateHostOptions allocationState(AllocationState allocationState)
           
 UpdateHostOptions hostTags(Set<String> hostTags)
           
 UpdateHostOptions osCategoryId(long osCategoryId)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final UpdateHostOptions NONE
Constructor Detail

UpdateHostOptions

public UpdateHostOptions()
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(long osCategoryId)
Parameters:
osCategoryId - the id of Os category to update the host with


Copyright © 2009-2012 jclouds. All Rights Reserved.