org.jclouds.cloudstack.options
Class CreateZoneOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
org.jclouds.cloudstack.options.CreateZoneOptions
- All Implemented Interfaces:
- HttpRequestOptions
public class CreateZoneOptions
- extends BaseHttpRequestOptions
Options used to control how a zone is created
- Author:
- Andrei Savu
- See Also:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final CreateZoneOptions NONE
CreateZoneOptions
public CreateZoneOptions()
allocationState
public CreateZoneOptions allocationState(AllocationState allocationState)
- Parameters:
allocationState
- allocation state of this Zone for allocation of new resources
dns2
public CreateZoneOptions dns2(String dns2)
- Parameters:
dns2
- the second DNS for the Zone
internalDns2
public CreateZoneOptions internalDns2(String internalDns2)
- Parameters:
internalDns2
- the second internal DNS for the Zone
domainName
public CreateZoneOptions domainName(String domainName)
- Parameters:
domainName
- network domain name for the networks in zone
domainId
public CreateZoneOptions domainId(@Nullable
long domainId)
- Parameters:
domainId
- the ID of the containing domain; null for public zones
guestCIDRAddress
public CreateZoneOptions guestCIDRAddress(String guestCIDRAddress)
- Parameters:
guestCIDRAddress
- the guest CIDR address for the Zone
securityGroupEnabled
public CreateZoneOptions securityGroupEnabled(boolean securityGroupEnabled)
- Parameters:
securityGroupEnabled
- true if network is security group enabled, false otherwise
vlan
public CreateZoneOptions vlan(String vlan)
- Parameters:
vlan
- the VLAN for the Zone
Copyright © 2009-2012 jclouds. All Rights Reserved.