Package org.jclouds.cloudstack.domain
Class Network
java.lang.Object
org.jclouds.cloudstack.domain.Network
Class Network
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Network
(String id, String account, String broadcastDomainType, URI broadcastURI, String displayText, String dns1, String dns2, String domain, String domainId, String endIP, String gateway, boolean isDefault, boolean isShared, boolean isSystem, String netmask, String networkDomain, String networkOfferingAvailability, String networkOfferingDisplayText, String networkOfferingId, String networkOfferingName, String related, String startIP, String name, String state, GuestIPType guestIPType, String vlan, TrafficType trafficType, String zoneId, Set<Tag> tags, boolean securityGroupEnabled, Set<? extends NetworkService> services) -
Method Summary
Modifier and TypeMethodDescriptionstatic Network.Builder
<?> builder()
boolean
getDNS()
getEndIP()
getId()
getName()
Set
<? extends NetworkService> getState()
getTags()
getVLAN()
int
hashCode()
boolean
boolean
boolean
isShared()
boolean
isSystem()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
toString()
-
Constructor Details
-
Network
@ConstructorProperties({"id","account","broadcastdomaintype","broadcasturi","displaytext","dns1","dns2","domain","domainid","endip","gateway","isdefault","isshared","issystem","netmask","networkdomain","networkofferingavailability","networkofferingdisplaytext","networkofferingid","networkofferingname","related","startip","name","state","type","vlan","traffictype","zoneid","tags","securitygroupenabled","service"}) protected Network(String id, @Nullable String account, @Nullable String broadcastDomainType, @Nullable URI broadcastURI, @Nullable String displayText, @Nullable String dns1, @Nullable String dns2, @Nullable String domain, @Nullable String domainId, @Nullable String endIP, @Nullable String gateway, boolean isDefault, boolean isShared, boolean isSystem, @Nullable String netmask, @Nullable String networkDomain, @Nullable String networkOfferingAvailability, @Nullable String networkOfferingDisplayText, @Nullable String networkOfferingId, @Nullable String networkOfferingName, @Nullable String related, @Nullable String startIP, @Nullable String name, @Nullable String state, @Nullable GuestIPType guestIPType, @Nullable String vlan, @Nullable TrafficType trafficType, @Nullable String zoneId, @Nullable Set<Tag> tags, boolean securityGroupEnabled, Set<? extends NetworkService> services)
-
-
Method Details
-
builder
-
toBuilder
-
getId
- Returns:
- network id
-
getAccount
- Returns:
- the account associated with the network
-
getBroadcastDomainType
- Returns:
- Broadcast domain type of the network
-
getBroadcastURI
- Returns:
- broadcast uri of the network
-
getDisplayText
- Returns:
- the display text of the zone
-
getDNS
-
getDomain
- Returns:
- Domain name for the Network
-
getDomainId
- Returns:
- the domain id of the Network
-
getEndIP
- Returns:
- the end ip of the network
-
getGateway
- Returns:
- the network's gateway
-
isDefault
public boolean isDefault()- Returns:
- true if network offering is default, false otherwise
-
isSystem
public boolean isSystem()- Returns:
- true if network offering is system, false otherwise
-
getNetmask
- Returns:
- the network's netmask
-
getNetworkDomain
- Returns:
- the network domain
-
getNetworkOfferingAvailability
- Returns:
- availability of the network offering the network is created from
-
getNetworkOfferingDisplayText
- Returns:
- display text of the network offering the network is created from
-
getNetworkOfferingId
- Returns:
- network offering id the network is created from
-
getNetworkOfferingName
- Returns:
- name of the network offering the network is created from
-
getRelated
- Returns:
- related to what other network configuration
-
getStartIP
- Returns:
- the start ip of the network
-
getName
- Returns:
- network name
-
getState
- Returns:
- state of the network
-
getGuestIPType
- Returns:
- the GuestIPType of the network
-
getVLAN
- Returns:
- the vlan range of the zone
-
getTrafficType
- Returns:
- the traffic type for this network offering
-
getZoneId
- Returns:
- zone id of the network
-
getTags
- Returns:
- the tags for the Network
-
isSecurityGroupEnabled
public boolean isSecurityGroupEnabled()- Returns:
- true if security group is enabled, false otherwise
-
getServices
- Returns:
- the list of services
-
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-