Package org.jclouds.cloudstack.domain
Class Zone.Builder<T extends Zone.Builder<T>>
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Zone.Builder<T>
-
-
Field Summary
Fields Modifier and Type Field Description 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 Set<Tag>
tags
protected String
vlan
protected String
zoneToken
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description 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
tags(Set<Tag> tags)
T
tags(Tag... in)
T
VLAN(String vlan)
T
zoneToken(String zoneToken)
-
-
-
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
-
-
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()
-
tags
public T tags(Set<Tag> tags)
- See Also:
Zone.getTags()
-
build
public Zone build()
-
-