Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateZoneOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static CreateZoneOptionsNONE-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description CreateZoneOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateZoneOptionsallocationState(AllocationState allocationState)CreateZoneOptionsdns2(String dns2)CreateZoneOptionsdomainId(String domainId)CreateZoneOptionsdomainName(String domainName)CreateZoneOptionsguestCIDRAddress(String guestCIDRAddress)CreateZoneOptionsinternalDns2(String internalDns2)CreateZoneOptionssecurityGroupEnabled(boolean securityGroupEnabled)CreateZoneOptionsvlan(String vlan)-
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final CreateZoneOptions NONE
-
-
Method Detail
-
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 String 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
-
-