Package org.opennms.netmgt.flows.api
Class Host
- java.lang.Object
-
- org.opennms.netmgt.flows.api.Host
-
public class Host extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Host.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Host.Builder
builder()
boolean
equals(Object o)
static Host.Builder
forOther()
static Host.Builder
from(String ip)
static Host.Builder
from(Host host)
Optional<String>
getHostname()
String
getIp()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Host
public Host(String ip)
-
Host
public Host(Host.Builder builder)
-
-
Method Detail
-
getIp
public String getIp()
-
builder
public static Host.Builder builder()
-
from
public static Host.Builder from(String ip)
-
from
public static Host.Builder from(Host host)
-
forOther
public static Host.Builder forOther()
-
-