Package org.jclouds.cloudstack.domain
Class Network
- java.lang.Object
-
- org.jclouds.cloudstack.domain.Network
-
public class Network extends Object
Class Network
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Network.Builder<T extends Network.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protected
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
-
-
-
Constructor Detail
-
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 Detail
-
builder
public static Network.Builder<?> builder()
-
toBuilder
public Network.Builder<?> toBuilder()
-
getId
public String getId()
- Returns:
- network id
-
getBroadcastDomainType
@Nullable public String getBroadcastDomainType()
- Returns:
- Broadcast domain type of the network
-
isDefault
public boolean isDefault()
- Returns:
- true if network offering is default, false otherwise
-
isShared
public boolean isShared()
- Returns:
- true if network offering is shared, false otherwise
-
isSystem
public boolean isSystem()
- Returns:
- true if network offering is system, false otherwise
-
getNetworkOfferingAvailability
@Nullable public String getNetworkOfferingAvailability()
- Returns:
- availability of the network offering the network is created from
-
getNetworkOfferingDisplayText
@Nullable public String getNetworkOfferingDisplayText()
- Returns:
- display text of the network offering the network is created from
-
getNetworkOfferingId
@Nullable public String getNetworkOfferingId()
- Returns:
- network offering id the network is created from
-
getNetworkOfferingName
@Nullable public String getNetworkOfferingName()
- Returns:
- name of the network offering the network is created from
-
getRelated
@Nullable public String getRelated()
- Returns:
- related to what other network configuration
-
getGuestIPType
public GuestIPType getGuestIPType()
- Returns:
- the GuestIPType of the network
-
getTrafficType
@Nullable public TrafficType getTrafficType()
- Returns:
- the traffic type for this network offering
-
isSecurityGroupEnabled
public boolean isSecurityGroupEnabled()
- Returns:
- true if security group is enabled, false otherwise
-
getServices
public Set<? extends NetworkService> getServices()
- Returns:
- the list of services
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-