public class AssignVirtualMachineOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
AssignVirtualMachineOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static AssignVirtualMachineOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
AssignVirtualMachineOptions() |
Modifier and Type | Method and Description |
---|---|
AssignVirtualMachineOptions |
accountInDomain(String account,
String domain) |
AssignVirtualMachineOptions |
domainId(String domainId) |
Iterable<String> |
getNetworkIds() |
AssignVirtualMachineOptions |
networkId(String networkId) |
AssignVirtualMachineOptions |
networkIds(Iterable<String> networkIds) |
AssignVirtualMachineOptions |
securityGroupId(String securityGroupId) |
AssignVirtualMachineOptions |
securityGroupIds(Iterable<String> securityGroupIds) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final AssignVirtualMachineOptions NONE
public AssignVirtualMachineOptions networkId(String networkId)
networkId
- network id used by virtual machinepublic AssignVirtualMachineOptions networkIds(Iterable<String> networkIds)
networkIds
- network ids used by virtual machinepublic AssignVirtualMachineOptions securityGroupId(String securityGroupId)
securityGroupId
- security group applied to the virtual machine. Should be passed
only when vm is created from a zone with Basic Network supportpublic AssignVirtualMachineOptions securityGroupIds(Iterable<String> securityGroupIds)
securityGroupIds
- security groups applied to the virtual machine. Should be passed
only when vm is created from a zone with Basic Network supportpublic AssignVirtualMachineOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- an optional account for the resourcedomain
- domain idpublic AssignVirtualMachineOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- The domain for the resourceCopyright © 2009-2013 jclouds. All Rights Reserved.