public class AddHostOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
AddHostOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static AddHostOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
AddHostOptions() |
Modifier and Type | Method and Description |
---|---|
AddHostOptions |
allocationState(AllocationState allocationState) |
AddHostOptions |
clusterId(long clusterId) |
AddHostOptions |
clusterName(String clusterName) |
AddHostOptions |
hostTags(Set<String> hostTags) |
AddHostOptions |
podId(long podId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final AddHostOptions NONE
public AddHostOptions allocationState(AllocationState allocationState)
allocationState
- Allocation state of this Host for allocation of new resourcespublic AddHostOptions clusterId(long clusterId)
clusterId
- the cluster ID for the hostpublic AddHostOptions clusterName(String clusterName)
clusterName
- the cluster name for the hostpublic AddHostOptions hostTags(Set<String> hostTags)
hostTags
- list of tags to be added to the hostpublic AddHostOptions podId(long podId)
podId
- the Pod ID for the hostCopyright © 2009-2012 jclouds. All Rights Reserved.