Class NIC

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

public class NIC extends Object
Class NIC
  • Constructor Details

    • NIC

      @ConstructorProperties({"id","broadcasturi","gateway","ipaddress","isdefault","isolationuri","netmask","macaddress","networkid","traffictype","type"}) protected NIC(String id, @Nullable URI broadcastURI, @Nullable String gateway, @Nullable String IPAddress, boolean isDefault, @Nullable URI isolationURI, @Nullable String netmask, @Nullable String macAddress, @Nullable String networkId, @Nullable TrafficType trafficType, @Nullable GuestIPType guestIPType)
  • Method Details

    • builder

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

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

      public String getId()
      the ID of the nic
    • getBroadcastURI

      @Nullable public URI getBroadcastURI()
      the broadcast uri of the nic
    • getGateway

      @Nullable public String getGateway()
      the gateway of the nic
    • getIPAddress

      @Nullable public String getIPAddress()
      the ip address of the nic
    • isDefault

      public boolean isDefault()
      true if nic is default, false otherwise
    • getIsolationURI

      @Nullable public URI getIsolationURI()
      the isolation uri of the nic
    • getNetmask

      @Nullable public String getNetmask()
      the netmask of the nic
    • getMacAddress

      @Nullable public String getMacAddress()
      the MAC Address of the NIC
    • getNetworkId

      @Nullable public String getNetworkId()
      the ID of the corresponding network
    • getTrafficType

      @Nullable public TrafficType getTrafficType()
      the traffic type of the nic
    • getGuestIPType

      @Nullable public GuestIPType getGuestIPType()
      the type of the nic
    • 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