public class Ip extends Object implements Comparable<Ip>
Constructor and Description |
---|
Ip()
A no-args constructor is required for deserialization
|
Ip(long id,
String ip,
String subnet,
boolean isPublic,
IpState state,
Option datacenter) |
Ip(String ip)
Constructs a generic IP address without any additional options.
|
public Ip()
public Ip(String ip)
ip
- ip addresspublic long getId()
public Option getDatacenter()
public String getIp()
public String getSubnet()
public boolean isPublic()
public IpState getState()
public int compareTo(Ip o)
compareTo
in interface Comparable<Ip>
Copyright © 2009-2012 jclouds. All Rights Reserved.