Package org.jclouds.cloudstack.domain
Class Zone
java.lang.Object
org.jclouds.cloudstack.domain.Zone
- All Implemented Interfaces:
Comparable<Zone>
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Zone
(String id, String description, String displayText, String dns1, String dns2, String domain, String domainId, String guestCIDRAddress, String internalDNS1, String internalDNS2, String name, NetworkType networkType, String vlan, boolean securityGroupsEnabled, AllocationState allocationState, String dhcpProvider, String zoneToken, Set<Tag> tags) -
Method Summary
-
Constructor Details
-
Zone
@ConstructorProperties({"id","description","displaytext","dns1","dns2","domain","domainid","guestcidraddress","internaldns1","internaldns2","name","networktype","vlan","securitygroupsenabled","allocationstate","dhcpprovider","zonetoken","tags"}) protected Zone(String id, @Nullable String description, @Nullable String displayText, @Nullable String dns1, @Nullable String dns2, @Nullable String domain, @Nullable String domainId, @Nullable String guestCIDRAddress, @Nullable String internalDNS1, @Nullable String internalDNS2, @Nullable String name, @Nullable NetworkType networkType, @Nullable String vlan, boolean securityGroupsEnabled, @Nullable AllocationState allocationState, @Nullable String dhcpProvider, @Nullable String zoneToken, @Nullable Set<Tag> tags)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- Zone id
-
getDescription
- Returns:
- Zone description
-
getDisplayText
- Returns:
- the display text of the zone
-
getDNS
- Returns:
- the external DNS for the Zone
-
getDomain
- Returns:
- Domain name for the Vms in the zone
-
getDomainId
- Returns:
- the ID of the containing domain, null for public zones
-
getGuestCIDRAddress
- Returns:
- the guest CIDR address for the Zone
-
getInternalDNS
- Returns:
- the internal DNS for the Zone
-
getName
- Returns:
- Zone name
-
getNetworkType
- Returns:
- the network type of the zone; can be Basic or Advanced
-
getVLAN
- Returns:
- the vlan range of the zone
-
isSecurityGroupsEnabled
public boolean isSecurityGroupsEnabled()- Returns:
- true if this zone has security groups enabled
-
getAllocationState
- Returns:
- the allocation state of the cluster
-
getDhcpProvider
- Returns:
- the dhcp Provider for the Zone
-
getZoneToken
- Returns:
- Zone Token
-
getTags
- Returns:
- the tags for the zone
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Zone>
-