public final class ImmutableIpInterface extends Object implements org.opennms.integration.api.v1.model.IpInterface
IpInterface that enforces deep immutability.| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableIpInterface.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
InetAddress |
getIpAddress() |
List<org.opennms.integration.api.v1.model.MetaData> |
getMetaData() |
Optional<org.opennms.integration.api.v1.model.SnmpInterface> |
getSnmpInterface() |
int |
hashCode() |
static org.opennms.integration.api.v1.model.IpInterface |
immutableCopy(org.opennms.integration.api.v1.model.IpInterface ipInterface) |
static ImmutableIpInterface.Builder |
newBuilder() |
static ImmutableIpInterface.Builder |
newBuilderFrom(org.opennms.integration.api.v1.model.IpInterface ipInterface) |
static ImmutableIpInterface |
newInstance(InetAddress ipAddress,
org.opennms.integration.api.v1.model.SnmpInterface snmpInterface,
List<org.opennms.integration.api.v1.model.MetaData> metaData) |
String |
toString() |
public static ImmutableIpInterface newInstance(InetAddress ipAddress, org.opennms.integration.api.v1.model.SnmpInterface snmpInterface, List<org.opennms.integration.api.v1.model.MetaData> metaData)
public static org.opennms.integration.api.v1.model.IpInterface immutableCopy(org.opennms.integration.api.v1.model.IpInterface ipInterface)
public static ImmutableIpInterface.Builder newBuilder()
public static ImmutableIpInterface.Builder newBuilderFrom(org.opennms.integration.api.v1.model.IpInterface ipInterface)
public InetAddress getIpAddress()
getIpAddress in interface org.opennms.integration.api.v1.model.IpInterfacepublic Optional<org.opennms.integration.api.v1.model.SnmpInterface> getSnmpInterface()
getSnmpInterface in interface org.opennms.integration.api.v1.model.IpInterfacepublic List<org.opennms.integration.api.v1.model.MetaData> getMetaData()
getMetaData in interface org.opennms.integration.api.v1.model.IpInterfaceCopyright © 2019. All rights reserved.