public static class AddHostOptions.Builder extends Object
| Constructor and Description |
|---|
AddHostOptions.Builder() |
| Modifier and Type | Method and Description |
|---|---|
static AddHostOptions |
allocationState(AllocationState allocationState) |
static AddHostOptions |
clusterId(String clusterId) |
static AddHostOptions |
clusterName(String clusterName) |
static AddHostOptions |
hostTags(Set<String> hostTags) |
static AddHostOptions |
podId(String podId) |
public static AddHostOptions allocationState(AllocationState allocationState)
allocationState - Allocation state of this Host for allocation of new resourcespublic static AddHostOptions clusterId(String clusterId)
clusterId - the cluster ID for the hostpublic static AddHostOptions clusterName(String clusterName)
clusterName - the cluster name for the hostpublic static AddHostOptions hostTags(Set<String> hostTags)
hostTags - list of tags to be added to the hostpublic static AddHostOptions podId(String podId)
podId - the Pod ID for the hostCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.