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
- 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 UpdateZoneOptions NONE
UpdateZoneOptions
public UpdateZoneOptions()
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
Copyright © 2009-2012 jclouds. All Rights Reserved.