org.jclouds.cloudstack.options
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 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 AddHostOptions NONE
AddHostOptions
public AddHostOptions()
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.