public class CreateZoneOptions extends BaseHttpRequestOptions
Modifier and Type | Class and Description |
---|---|
static class |
CreateZoneOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static CreateZoneOptions |
NONE |
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
Constructor and Description |
---|
CreateZoneOptions() |
Modifier and Type | Method and Description |
---|---|
CreateZoneOptions |
allocationState(AllocationState allocationState) |
CreateZoneOptions |
dns2(String dns2) |
CreateZoneOptions |
domainId(long domainId) |
CreateZoneOptions |
domainName(String domainName) |
CreateZoneOptions |
guestCIDRAddress(String guestCIDRAddress) |
CreateZoneOptions |
internalDns2(String internalDns2) |
CreateZoneOptions |
securityGroupEnabled(boolean securityGroupEnabled) |
CreateZoneOptions |
vlan(String vlan) |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
public static final CreateZoneOptions NONE
public CreateZoneOptions allocationState(AllocationState allocationState)
allocationState
- allocation state of this Zone for allocation of new resourcespublic CreateZoneOptions dns2(String dns2)
dns2
- the second DNS for the Zonepublic CreateZoneOptions internalDns2(String internalDns2)
internalDns2
- the second internal DNS for the Zonepublic CreateZoneOptions domainName(String domainName)
domainName
- network domain name for the networks in zonepublic CreateZoneOptions domainId(@Nullable long domainId)
domainId
- the ID of the containing domain; null for public zonespublic CreateZoneOptions guestCIDRAddress(String guestCIDRAddress)
guestCIDRAddress
- the guest CIDR address for the Zonepublic CreateZoneOptions securityGroupEnabled(boolean securityGroupEnabled)
securityGroupEnabled
- true if network is security group enabled, false otherwisepublic CreateZoneOptions vlan(String vlan)
vlan
- the VLAN for the ZoneCopyright © 2009-2012 jclouds. All Rights Reserved.