public class ListHostsOptions extends AccountInDomainOptions
| Modifier and Type | Class and Description |
|---|---|
static class |
ListHostsOptions.Builder |
| Modifier and Type | Field and Description |
|---|---|
static ListHostsOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters| Constructor and Description |
|---|
ListHostsOptions() |
| Modifier and Type | Method and Description |
|---|---|
ListHostsOptions |
accountInDomain(String account,
String domain) |
ListHostsOptions |
allocationState(AllocationState allocationState) |
ListHostsOptions |
clusterId(String clusterId) |
ListHostsOptions |
domainId(String domainId) |
ListHostsOptions |
id(String id) |
ListHostsOptions |
keyword(String keyword) |
ListHostsOptions |
name(String name) |
ListHostsOptions |
page(long page) |
ListHostsOptions |
pageSize(long pageSize) |
ListHostsOptions |
podId(String podId) |
ListHostsOptions |
state(String state) |
ListHostsOptions |
type(Host.Type type) |
ListHostsOptions |
virtualMachineId(String virtualMachineId) |
ListHostsOptions |
zoneId(String zoneId) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic static final ListHostsOptions NONE
public ListHostsOptions id(String id)
id - the id of the hostpublic ListHostsOptions allocationState(AllocationState allocationState)
allocationState - list hosts by allocation statepublic ListHostsOptions clusterId(String clusterId)
clusterId - lists hosts existing in particular clusterpublic ListHostsOptions keyword(String keyword)
keyword - List by keywordpublic ListHostsOptions name(String name)
name - List by namepublic ListHostsOptions page(long page)
page - public ListHostsOptions pageSize(long pageSize)
pageSize - the page sizepublic ListHostsOptions podId(String podId)
podId - the Pod ID for the hostpublic ListHostsOptions state(String state)
state - the state of the hostpublic ListHostsOptions type(Host.Type type)
type - the type of the hostpublic ListHostsOptions virtualMachineId(String virtualMachineId)
virtualMachineId - lists hosts in the same cluster as this VM and flag hosts with
enough CPU/RAm to host this VMpublic ListHostsOptions zoneId(String zoneId)
zoneId - the Zone ID for the hostpublic ListHostsOptions accountInDomain(String account, String domain)
accountInDomain in class AccountInDomainOptionsaccount - an optional account for the resourcedomain - domain idpublic ListHostsOptions domainId(String domainId)
domainId in class AccountInDomainOptionsdomainId - The domain for the resourceCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.