org.jclouds.cloudstack.options
Class UpdateZoneOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by 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:

Nested Class Summary
static class UpdateZoneOptions.Builder
           
 
Field Summary
static UpdateZoneOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateZoneOptions()
           
 
Method Summary
 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 around
 UpdateZoneOptions name(String name)
           
 UpdateZoneOptions securityGroupEnabled(boolean securityGroupEnabled)
           
 UpdateZoneOptions vlan(String vlan)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final UpdateZoneOptions NONE
Constructor Detail

UpdateZoneOptions

public UpdateZoneOptions()
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


Copyright © 2009-2012 jclouds. All Rights Reserved.