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, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListHostsOptions() |
Modifier and Type | Method and Description |
---|---|
ListHostsOptions |
accountInDomain(String account,
long domain) |
ListHostsOptions |
allocationState(AllocationState allocationState) |
ListHostsOptions |
clusterId(long clusterId) |
ListHostsOptions |
domainId(long domainId) |
ListHostsOptions |
id(long id) |
ListHostsOptions |
keyword(String keyword) |
ListHostsOptions |
name(String name) |
ListHostsOptions |
page(long page) |
ListHostsOptions |
pageSize(long pageSize) |
ListHostsOptions |
podId(long podId) |
ListHostsOptions |
state(String state) |
ListHostsOptions |
type(Host.Type type) |
ListHostsOptions |
virtualMachineId(long virtualMachineId) |
ListHostsOptions |
zoneId(long zoneId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListHostsOptions NONE
public ListHostsOptions id(long id)
id
- the id of the hostpublic ListHostsOptions allocationState(AllocationState allocationState)
allocationState
- list hosts by allocation statepublic ListHostsOptions clusterId(long 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(long 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(long virtualMachineId)
virtualMachineId
- lists hosts in the same cluster as this VM and flag hosts with
enough CPU/RAm to host this VMpublic ListHostsOptions zoneId(long zoneId)
zoneId
- the Zone ID for the hostpublic ListHostsOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListHostsOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.