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

  • Constructor Details

    • AddHostOptions

      public AddHostOptions()
  • Method Details

    • 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