org.jclouds.cloudstack.domain
Class Zone.Builder<T extends Zone.Builder<T>>

java.lang.Object
  extended by org.jclouds.cloudstack.domain.Zone.Builder<T>
Enclosing class:
Zone

public abstract static class Zone.Builder<T extends Zone.Builder<T>>
extends Object


Field Summary
protected  AllocationState allocationState
           
protected  String description
           
protected  String dhcpProvider
           
protected  String displayText
           
protected  String DNS1
           
protected  String DNS2
           
protected  String domain
           
protected  String domainId
           
protected  String guestCIDRAddress
           
protected  String id
           
protected  String internalDNS1
           
protected  String internalDNS2
           
protected  String name
           
protected  NetworkType networkType
           
protected  boolean securityGroupsEnabled
           
protected  String VLAN
           
protected  String zoneToken
           
 
Constructor Summary
Zone.Builder()
           
 
Method Summary
 T allocationState(AllocationState allocationState)
           
 Zone build()
           
 T description(String description)
           
 T dhcpProvider(String dhcpProvider)
           
 T displayText(String displayText)
           
 T DNS(List<String> DNS)
           
 T domain(String domain)
           
 T domainId(String domainId)
           
 T fromZone(Zone in)
           
 T guestCIDRAddress(String guestCIDRAddress)
           
 T id(String id)
           
 T internalDNS(List<String> DNS)
           
 T name(String name)
           
 T networkType(NetworkType networkType)
           
 T securityGroupsEnabled(boolean securityGroupsEnabled)
           
protected abstract  T self()
           
 T VLAN(String VLAN)
           
 T zoneToken(String zoneToken)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

description

protected String description

displayText

protected String displayText

DNS1

protected String DNS1

DNS2

protected String DNS2

domain

protected String domain

domainId

protected String domainId

guestCIDRAddress

protected String guestCIDRAddress

internalDNS1

protected String internalDNS1

internalDNS2

protected String internalDNS2

name

protected String name

networkType

protected NetworkType networkType

VLAN

protected String VLAN

securityGroupsEnabled

protected boolean securityGroupsEnabled

allocationState

protected AllocationState allocationState

dhcpProvider

protected String dhcpProvider

zoneToken

protected String zoneToken
Constructor Detail

Zone.Builder

public Zone.Builder()
Method Detail

self

protected abstract T self()

id

public T id(String id)
See Also:
Zone.getId()

description

public T description(String description)
See Also:
Zone.getDescription()

displayText

public T displayText(String displayText)
See Also:
Zone.getDisplayText()

DNS

public T DNS(List<String> DNS)
See Also:
Zone.getDNS()

domain

public T domain(String domain)
See Also:
Zone.getDomain()

domainId

public T domainId(String domainId)
See Also:
Zone.getDomainId()

guestCIDRAddress

public T guestCIDRAddress(String guestCIDRAddress)
See Also:
Zone.getGuestCIDRAddress()

internalDNS

public T internalDNS(List<String> DNS)
See Also:
Zone.getInternalDNS()

name

public T name(String name)
See Also:
Zone.getName()

networkType

public T networkType(NetworkType networkType)
See Also:
Zone.getNetworkType()

VLAN

public T VLAN(String VLAN)
See Also:
Zone.getVLAN()

securityGroupsEnabled

public T securityGroupsEnabled(boolean securityGroupsEnabled)
See Also:
Zone.isSecurityGroupsEnabled()

allocationState

public T allocationState(AllocationState allocationState)
See Also:
Zone.getAllocationState()

dhcpProvider

public T dhcpProvider(String dhcpProvider)
See Also:
Zone.getDhcpProvider()

zoneToken

public T zoneToken(String zoneToken)
See Also:
Zone.getZoneToken()

build

public Zone build()

fromZone

public T fromZone(Zone in)


Copyright © 2009-2013 jclouds. All Rights Reserved.