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
  • Field Details

  • Constructor Details

    • UpdateHostOptions

      public UpdateHostOptions()
  • Method Details

    • 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