org.jclouds.cloudstack.options
Class AddHostOptions

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

public class AddHostOptions
extends BaseHttpRequestOptions

Options to the GlobalHostClient.addHost() API call

Author:
Richard Downer

Nested Class Summary
static class AddHostOptions.Builder
           
 
Field Summary
static AddHostOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
AddHostOptions()
           
 
Method Summary
 AddHostOptions allocationState(AllocationState allocationState)
           
 AddHostOptions clusterId(long clusterId)
           
 AddHostOptions clusterName(String clusterName)
           
 AddHostOptions hostTags(Set<String> hostTags)
           
 AddHostOptions podId(long podId)
           
 
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 AddHostOptions NONE
Constructor Detail

AddHostOptions

public AddHostOptions()
Method Detail

allocationState

public AddHostOptions allocationState(AllocationState allocationState)
Parameters:
allocationState - Allocation state of this Host for allocation of new resources

clusterId

public AddHostOptions clusterId(long 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(long podId)
Parameters:
podId - the Pod ID for the host


Copyright © 2009-2012 jclouds. All Rights Reserved.