public class PhysicalAdapter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
PhysicalAdapter.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
PhysicalAdapter() |
PhysicalAdapter(Optional<java.lang.String> address,
Optional<java.lang.String> macAddress,
Optional<java.lang.String> macAddressPermanent,
Optional<java.lang.String> mtu,
Optional<java.lang.String> netmask,
Optional<java.lang.String> network,
Optional<java.lang.Boolean> upAndRunning) |
Modifier and Type | Method and Description |
---|---|
PhysicalAdapter.Builder |
asBuilder() |
static PhysicalAdapter.Builder |
builder() |
boolean |
equals(java.lang.Object o) |
Optional<java.lang.String> |
getAddress() |
Optional<java.lang.String> |
getMacAddress() |
Optional<java.lang.String> |
getMacAddressPermanent() |
Optional<java.lang.String> |
getMtu() |
Optional<java.lang.String> |
getNetmask() |
Optional<java.lang.String> |
getNetwork() |
Optional<java.lang.Boolean> |
getUpAndRunning() |
int |
hashCode() |
void |
setAddress(Optional<java.lang.String> address) |
void |
setMacAddress(Optional<java.lang.String> macAddress) |
void |
setMacAddressPermanent(Optional<java.lang.String> macAddressPermanent) |
void |
setMtu(Optional<java.lang.String> mtu) |
void |
setNetmask(Optional<java.lang.String> netmask) |
void |
setNetwork(Optional<java.lang.String> network) |
void |
setUpAndRunning(Optional<java.lang.Boolean> upAndRunning) |
java.util.Map<java.lang.String,java.lang.Object> |
toMap() |
java.lang.String |
toString() |
public static final long serialVersionUID
@Since(value="7.0") public PhysicalAdapter(Optional<java.lang.String> address, Optional<java.lang.String> macAddress, Optional<java.lang.String> macAddressPermanent, Optional<java.lang.String> mtu, Optional<java.lang.String> netmask, Optional<java.lang.String> network, Optional<java.lang.Boolean> upAndRunning)
public Optional<java.lang.String> getAddress()
public void setAddress(Optional<java.lang.String> address)
public Optional<java.lang.String> getMacAddress()
public void setMacAddress(Optional<java.lang.String> macAddress)
public Optional<java.lang.String> getMacAddressPermanent()
public void setMacAddressPermanent(Optional<java.lang.String> macAddressPermanent)
public Optional<java.lang.String> getMtu()
public void setMtu(Optional<java.lang.String> mtu)
public Optional<java.lang.String> getNetmask()
public void setNetmask(Optional<java.lang.String> netmask)
public Optional<java.lang.String> getNetwork()
public void setNetwork(Optional<java.lang.String> network)
public Optional<java.lang.Boolean> getUpAndRunning()
public void setUpAndRunning(Optional<java.lang.Boolean> upAndRunning)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
public java.lang.String toString()
toString
in class java.lang.Object
public static PhysicalAdapter.Builder builder()
public final PhysicalAdapter.Builder asBuilder()