org.jclouds.cloudsigma.domain
Class StaticIPInfo

java.lang.Object
  extended by org.jclouds.cloudsigma.domain.StaticIPInfo

public class StaticIPInfo
extends Object

Author:
Adrian Cole

Nested Class Summary
static class StaticIPInfo.Builder
           
 
Field Summary
protected  String gateway
           
protected  String ip
           
protected  Set<String> nameservers
           
protected  String netmask
           
protected  String user
           
 
Constructor Summary
StaticIPInfo(String ip, String user, String netmask, Iterable<String> nameservers, String gateway)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getAddress()
           
 String getGateway()
           
 Set<String> getNameservers()
           
 String getNetmask()
           
 String getUser()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ip

protected final String ip

user

protected final String user

netmask

protected final String netmask

nameservers

protected final Set<String> nameservers

gateway

protected final String gateway
Constructor Detail

StaticIPInfo

public StaticIPInfo(String ip,
                    String user,
                    String netmask,
                    Iterable<String> nameservers,
                    String gateway)
Method Detail

getAddress

@Nullable
public String getAddress()
Returns:
ip of the ip.

getUser

public String getUser()
Returns:
user owning the ip

getNetmask

public String getNetmask()
Returns:
netmask of the ip

getNameservers

public Set<String> getNameservers()
Returns:
nameservers of the ip

getGateway

public String getGateway()
Returns:
gateway of the ip

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-2011 jclouds. All Rights Reserved.