org.jclouds.smartos.compute.domain
Class VmNIC

java.lang.Object
  extended by org.jclouds.smartos.compute.domain.VmNIC

public class VmNIC
extends Object

Specification of a network card.


Nested Class Summary
static class VmNIC.Builder
           
 
Constructor Summary
protected VmNIC(String tag, String ip, String netmask, String gateway)
           
 
Method Summary
static VmNIC.Builder builder()
           
 boolean equals(Object obj)
           
 String getGateway()
           
 String getIp()
           
 String getNetmask()
           
 String getTag()
           
 int hashCode()
           
 VmNIC.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VmNIC

@ConstructorProperties(value={"nic_tag","ip","netmask","gateway"})
protected VmNIC(String tag,
                                           String ip,
                                           String netmask,
                                           String gateway)
Method Detail

builder

public static VmNIC.Builder builder()

toBuilder

public VmNIC.Builder toBuilder()

getTag

public String getTag()

getIp

public String getIp()

getNetmask

public String getNetmask()

getGateway

public String getGateway()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.