public class CreateNetworkOptions extends AccountInDomainOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateNetworkOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateNetworkOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateNetworkOptions() |
Modifier and Type | Method and Description |
---|---|
CreateNetworkOptions |
accountInDomain(String account,
String domain)
Specify the account that will own the network.
|
CreateNetworkOptions |
domainId(String domainId)
Specify the domain that will own the network.
|
CreateNetworkOptions |
endIP(String endIP) |
CreateNetworkOptions |
gateway(String gateway) |
CreateNetworkOptions |
isDefault(boolean isDefault) |
CreateNetworkOptions |
isShared(boolean isShared) |
CreateNetworkOptions |
netmask(String netmask) |
CreateNetworkOptions |
networkDomain(String networkDomain) |
CreateNetworkOptions |
startIP(String startIP) |
CreateNetworkOptions |
vlan(String vlan) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateNetworkOptions NONE
public CreateNetworkOptions isDefault(boolean isDefault)
isDefault
- true if network is default, false otherwisepublic CreateNetworkOptions isShared(boolean isShared)
isShared
- true if network is shared across accounts in the Zonepublic CreateNetworkOptions startIP(String startIP)
startIP
- the beginning IP address in the VLAN IP rangepublic CreateNetworkOptions endIP(String endIP)
endIP
- the ending IP address in the network IP range. If not specified, will be defaulted to startIPpublic CreateNetworkOptions gateway(String gateway)
gateway
- the gateway of the VLAN IP rangepublic CreateNetworkOptions netmask(String netmask)
netmask
- the netmask of the VLAN IP rangepublic CreateNetworkOptions networkDomain(String networkDomain)
networkDomain
- network domainpublic CreateNetworkOptions vlan(String vlan)
vlan
- the ID or VID of the VLAN. Default is an "untagged" VLAN.public CreateNetworkOptions accountInDomain(String account, String domain)
accountInDomain
in class AccountInDomainOptions
account
- account namedomain
- domain IDpublic CreateNetworkOptions domainId(String domainId)
domainId
in class AccountInDomainOptions
domainId
- domain IDCopyright © 2009-2013 jclouds. All Rights Reserved.