public class ListVirtualMachinesOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
ListVirtualMachinesOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static ListVirtualMachinesOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
ListVirtualMachinesOptions() |
Modifier and Type | Method and Description |
---|---|
ListVirtualMachinesOptions |
accountInDomain(String account,
long domain) |
ListVirtualMachinesOptions |
domainId(long domainId) |
ListVirtualMachinesOptions |
groupId(long groupId) |
ListVirtualMachinesOptions |
hostId(long hostId) |
ListVirtualMachinesOptions |
id(long id) |
ListVirtualMachinesOptions |
name(String name) |
ListVirtualMachinesOptions |
networkId(long networkId) |
ListVirtualMachinesOptions |
podId(long podId) |
ListVirtualMachinesOptions |
state(String state) |
ListVirtualMachinesOptions |
usesVirtualNetwork(boolean usesVirtualNetwork) |
ListVirtualMachinesOptions |
zoneId(long zoneId) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final ListVirtualMachinesOptions NONE
public ListVirtualMachinesOptions id(long id)
id
- the ID of the virtual machinepublic ListVirtualMachinesOptions name(String name)
name
- the virtual machine namepublic ListVirtualMachinesOptions state(String state)
state
- state of the virtual machinepublic ListVirtualMachinesOptions groupId(long groupId)
groupId
- list virtual machines by groupId.public ListVirtualMachinesOptions hostId(long hostId)
hostId
- list virtual machines by hostId.public ListVirtualMachinesOptions networkId(long networkId)
networkId
- list virtual machines by networkId.public ListVirtualMachinesOptions podId(long podId)
podId
- list virtual machines by podId.public ListVirtualMachinesOptions zoneId(long zoneId)
zoneId
- list virtual machines by zoneId.public ListVirtualMachinesOptions usesVirtualNetwork(boolean usesVirtualNetwork)
usesVirtualNetwork
- list by network type; true if need to list vms using Virtual
Network, false otherwisepublic ListVirtualMachinesOptions accountInDomain(String account, long domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic ListVirtualMachinesOptions domainId(long domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2012 jclouds. All Rights Reserved.