Package org.jclouds.cloudstack.options
Class UpdateZoneOptions
- java.lang.Object
-
- org.jclouds.http.options.BaseHttpRequestOptions
-
- org.jclouds.cloudstack.options.UpdateZoneOptions
-
- All Implemented Interfaces:
HttpRequestOptions
public class UpdateZoneOptions extends BaseHttpRequestOptions
Options used to control how a zone is updated
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateZoneOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateZoneOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateZoneOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateZoneOptions
allocationState(AllocationState allocationState)
UpdateZoneOptions
details(String details)
UpdateZoneOptions
dhcpProvider(String dhcpProvider)
UpdateZoneOptions
dnsSearchOrder(String dnsSearchOrder)
UpdateZoneOptions
domainName(String domainName)
UpdateZoneOptions
externalDns(List<String> externalDnsServers)
UpdateZoneOptions
guestCIDRAddress(String guestCIDRAddress)
UpdateZoneOptions
internalDns(List<String> internalDnsServers)
UpdateZoneOptions
makePublic()
You can only make a private Zone public, not the other way aroundUpdateZoneOptions
name(String name)
UpdateZoneOptions
securityGroupEnabled(boolean securityGroupEnabled)
UpdateZoneOptions
vlan(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 UpdateZoneOptions NONE
-
-
Method Detail
-
allocationState
public UpdateZoneOptions allocationState(AllocationState allocationState)
- Parameters:
allocationState
- allocation state of this Zone for allocation of new resources
-
details
public UpdateZoneOptions details(String details)
- Parameters:
details
- the details for the Zone
-
dhcpProvider
public UpdateZoneOptions dhcpProvider(String dhcpProvider)
- Parameters:
dhcpProvider
- the dhcp Provider for the Zone
-
externalDns
public UpdateZoneOptions externalDns(List<String> externalDnsServers)
- Parameters:
externalDnsServers
- the list of external DNS servers
-
internalDns
public UpdateZoneOptions internalDns(List<String> internalDnsServers)
- Parameters:
internalDnsServers
- the list of internal DNS for the Zone
-
dnsSearchOrder
public UpdateZoneOptions dnsSearchOrder(String dnsSearchOrder)
- Parameters:
dnsSearchOrder
- the dns search order list
-
domainName
public UpdateZoneOptions domainName(String domainName)
- Parameters:
domainName
- network domain name for the networks in zone
-
guestCIDRAddress
public UpdateZoneOptions guestCIDRAddress(String guestCIDRAddress)
- Parameters:
guestCIDRAddress
- the guest CIDR address for the Zone
-
securityGroupEnabled
public UpdateZoneOptions securityGroupEnabled(boolean securityGroupEnabled)
- Parameters:
securityGroupEnabled
- true if network is security group enabled, false otherwise
-
makePublic
public UpdateZoneOptions makePublic()
You can only make a private Zone public, not the other way around
-
name
public UpdateZoneOptions name(String name)
- Parameters:
name
- the name of the Zone
-
vlan
public UpdateZoneOptions vlan(String vlan)
- Parameters:
vlan
- the VLAN for the Zone
-
-