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, 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 |
projectId(String projectId) |
CreateNetworkOptions |
startIP(String startIP) |
CreateNetworkOptions |
vlan(String vlan) |
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toStringpublic 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 projectId(String projectId)
projectId - the project this network will be in.public CreateNetworkOptions accountInDomain(String account, String domain)
accountInDomain in class AccountInDomainOptionsaccount - account namedomain - domain IDpublic CreateNetworkOptions domainId(String domainId)
domainId in class AccountInDomainOptionsdomainId - domain IDCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.