org.jclouds.cloudsigma.domain
Class StaticIPInfo
java.lang.Object
org.jclouds.cloudsigma.domain.StaticIPInfo
public class StaticIPInfo
- extends Object
- Author:
- Adrian Cole
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
StaticIPInfo
public StaticIPInfo(String ip,
String user,
String netmask,
Iterable<String> nameservers,
String gateway)
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-2012 jclouds. All Rights Reserved.