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, pathSuffix, payload, queryParameters| Constructor and Description |
|---|
AddHostOptions() |
| Modifier and Type | Method and Description |
|---|---|
AddHostOptions |
allocationState(AllocationState allocationState) |
AddHostOptions |
clusterId(String clusterId) |
AddHostOptions |
clusterName(String clusterName) |
AddHostOptions |
hostTags(Set<String> hostTags) |
AddHostOptions |
podId(String podId) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic static final AddHostOptions NONE
public AddHostOptions allocationState(AllocationState allocationState)
allocationState - Allocation state of this Host for allocation of new resourcespublic AddHostOptions clusterId(String 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(String podId)
podId - the Pod ID for the hostCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.