org.jclouds.cloudstack.options
Class CreateZoneOptions

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

Nested Class Summary
static class CreateZoneOptions.Builder
           
 
Field Summary
static CreateZoneOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
CreateZoneOptions()
           
 
Method Summary
 CreateZoneOptions allocationState(AllocationState allocationState)
           
 CreateZoneOptions dns2(String dns2)
           
 CreateZoneOptions domainId(long domainId)
           
 CreateZoneOptions domainName(String domainName)
           
 CreateZoneOptions guestCIDRAddress(String guestCIDRAddress)
           
 CreateZoneOptions internalDns2(String internalDns2)
           
 CreateZoneOptions securityGroupEnabled(boolean securityGroupEnabled)
           
 CreateZoneOptions 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 CreateZoneOptions NONE
Constructor Detail

CreateZoneOptions

public CreateZoneOptions()
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
                                  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.