public class NetworkParams
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
NetworkParams.Builder |
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
NetworkParams() |
NetworkParams(Optional<NetworkConfigParams> bond1G,
Optional<NetworkConfigParams> bond10G,
Optional<NetworkConfigParams> net0,
Optional<NetworkConfigParams> net1,
Optional<NetworkConfigParams> eth0,
Optional<NetworkConfigParams> eth1,
Optional<NetworkConfigParams> eth2,
Optional<NetworkConfigParams> eth3,
Optional<NetworkConfigParams> lo) |
public static final long serialVersionUID
@Since(value="7.0") public NetworkParams(Optional<NetworkConfigParams> bond1G, Optional<NetworkConfigParams> bond10G, Optional<NetworkConfigParams> net0, Optional<NetworkConfigParams> net1, Optional<NetworkConfigParams> eth0, Optional<NetworkConfigParams> eth1, Optional<NetworkConfigParams> eth2, Optional<NetworkConfigParams> eth3, Optional<NetworkConfigParams> lo)
public Optional<NetworkConfigParams> getBond1G()
public void setBond1G(Optional<NetworkConfigParams> bond1G)
public Optional<NetworkConfigParams> getBond10G()
public void setBond10G(Optional<NetworkConfigParams> bond10G)
public Optional<NetworkConfigParams> getNet0()
public void setNet0(Optional<NetworkConfigParams> net0)
public Optional<NetworkConfigParams> getNet1()
public void setNet1(Optional<NetworkConfigParams> net1)
public Optional<NetworkConfigParams> getEth0()
public void setEth0(Optional<NetworkConfigParams> eth0)
public Optional<NetworkConfigParams> getEth1()
public void setEth1(Optional<NetworkConfigParams> eth1)
public Optional<NetworkConfigParams> getEth2()
public void setEth2(Optional<NetworkConfigParams> eth2)
public Optional<NetworkConfigParams> getEth3()
public void setEth3(Optional<NetworkConfigParams> eth3)
public Optional<NetworkConfigParams> getLo()
public void setLo(Optional<NetworkConfigParams> lo)
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 NetworkParams.Builder builder()
public final NetworkParams.Builder asBuilder()