Class Network

java.lang.Object
org.jclouds.cloudstack.domain.Network

public class Network extends Object
Class Network
  • 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

      public static Network.Builder<?> builder()
    • toBuilder

      public Network.Builder<?> toBuilder()
    • getId

      public String getId()
      Returns:
      network id
    • getAccount

      @Nullable public String getAccount()
      Returns:
      the account associated with the network
    • getBroadcastDomainType

      @Nullable public String getBroadcastDomainType()
      Returns:
      Broadcast domain type of the network
    • getBroadcastURI

      @Nullable public URI getBroadcastURI()
      Returns:
      broadcast uri of the network
    • getDisplayText

      @Nullable public String getDisplayText()
      Returns:
      the display text of the zone
    • getDNS

      public List<String> getDNS()
    • getDomain

      @Nullable public String getDomain()
      Returns:
      Domain name for the Network
    • getDomainId

      @Nullable public String getDomainId()
      Returns:
      the domain id of the Network
    • getEndIP

      @Nullable public String getEndIP()
      Returns:
      the end ip of the network
    • getGateway

      @Nullable public String getGateway()
      Returns:
      the network's gateway
    • 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
    • getNetmask

      @Nullable public String getNetmask()
      Returns:
      the network's netmask
    • getNetworkDomain

      @Nullable public String getNetworkDomain()
      Returns:
      the network domain
    • 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
    • getStartIP

      @Nullable public String getStartIP()
      Returns:
      the start ip of the network
    • getName

      @Nullable public String getName()
      Returns:
      network name
    • getState

      @Nullable public String getState()
      Returns:
      state of the network
    • getGuestIPType

      public GuestIPType getGuestIPType()
      Returns:
      the GuestIPType of the network
    • getVLAN

      @Nullable public String getVLAN()
      Returns:
      the vlan range of the zone
    • getTrafficType

      @Nullable public TrafficType getTrafficType()
      Returns:
      the traffic type for this network offering
    • getZoneId

      @Nullable public String getZoneId()
      Returns:
      zone id of the network
    • getTags

      public Set<Tag> getTags()
      Returns:
      the tags for the Network
    • isSecurityGroupEnabled

      public boolean isSecurityGroupEnabled()
      Returns:
      true if security group is enabled, false otherwise
    • getServices

      public Set<? extends NetworkService> getServices()
      Returns:
      the list of services
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • string

      protected com.google.common.base.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object