public abstract static class NetworkInterfaceStatus.NetworkInterfaceStatusBuilder<T extends NetworkInterfaceStatus.NetworkInterfaceStatusBuilder<T>>
extends java.lang.Object
NetworkInterfaceStatus object. The builders
for specific interfaces, like ethernet or wifi, must extend this class.| Constructor and Description |
|---|
NetworkInterfaceStatusBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract NetworkInterfaceStatus |
build() |
abstract T |
getThis() |
T |
withAutoConnect(boolean autoConnect) |
T |
withDriver(java.lang.String driver) |
T |
withDriverVersion(java.lang.String driverVersion) |
T |
withFirmwareVersion(java.lang.String firmwareVersion) |
T |
withHardwareAddress(byte[] hardwareAddress) |
T |
withInterfaceId(java.lang.String interfaceId) |
T |
withInterfaceIp4Addresses(java.util.Optional<NetworkInterfaceIpAddressStatus<IP4Address>> interfaceIp4Addresses) |
T |
withInterfaceIp6Addresses(java.util.Optional<NetworkInterfaceIpAddressStatus<IP6Address>> interfaceIp6Addresses) |
T |
withInterfaceName(java.lang.String interfacenName) |
T |
withMtu(int mtu) |
T |
withState(NetworkInterfaceState state) |
protected T |
withType(NetworkInterfaceType type) |
T |
withVirtual(boolean virtual) |
public T withInterfaceId(java.lang.String interfaceId)
public T withInterfaceName(java.lang.String interfacenName)
public T withHardwareAddress(byte[] hardwareAddress)
protected T withType(NetworkInterfaceType type)
public T withDriver(java.lang.String driver)
public T withDriverVersion(java.lang.String driverVersion)
public T withFirmwareVersion(java.lang.String firmwareVersion)
public T withVirtual(boolean virtual)
public T withState(NetworkInterfaceState state)
public T withAutoConnect(boolean autoConnect)
public T withMtu(int mtu)
public T withInterfaceIp4Addresses(java.util.Optional<NetworkInterfaceIpAddressStatus<IP4Address>> interfaceIp4Addresses)
public T withInterfaceIp6Addresses(java.util.Optional<NetworkInterfaceIpAddressStatus<IP6Address>> interfaceIp6Addresses)
public abstract T getThis()
public abstract NetworkInterfaceStatus build()