NetworkAdapter Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. NetworkAdapter
- com.
Implements
public final class NetworkAdapter
implements JsonSerializable<NetworkAdapter>
Represents the networkAdapter on a device.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkAdapter() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
adapterId()
Get the adapter |
|
Network |
adapterPosition()
Get the adapter |
|
Network |
dhcpStatus()
Get the dhcp |
| List<String> |
dnsServers()
Get the dns |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| Integer |
index()
Get the index property: Logical index of the adapter. |
| Ipv4Config |
ipv4Configuration()
Get the ipv4Configuration property: The IPv4 configuration of the network adapter. |
| Ipv6Config |
ipv6Configuration()
Get the ipv6Configuration property: The IPv6 configuration of the network adapter. |
| String |
ipv6LinkLocalAddress()
Get the ipv6Link |
| String |
label()
Get the label property: Hardware label for the adapter. |
| Long |
linkSpeed()
Get the link |
| String |
macAddress()
Get the mac |
| String |
networkAdapterName()
Get the network |
| String |
nodeId()
Get the node |
|
Network |
rdmaStatus()
Get the rdma |
|
Network |
status()
Get the status property: Value indicating whether this adapter is valid. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withDhcpStatus(NetworkAdapterDhcpStatus dhcpStatus)
Set the dhcp |
|
Network |
withRdmaStatus(NetworkAdapterRdmaStatus rdmaStatus)
Set the rdma |
Methods inherited from java.lang.Object
Constructor Details
NetworkAdapter
public NetworkAdapter()
Creates an instance of NetworkAdapter class.
Method Details
adapterId
public String adapterId()
Get the adapterId property: Instance ID of network adapter.
Returns:
adapterPosition
public NetworkAdapterPosition adapterPosition()
Get the adapterPosition property: Hardware position of network adapter.
Returns:
dhcpStatus
public NetworkAdapterDhcpStatus dhcpStatus()
Get the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.
Returns:
dnsServers
public List<String> dnsServers()
Get the dnsServers property: The list of DNS Servers of the device.
Returns:
fromJson
public static NetworkAdapter fromJson(JsonReader jsonReader)
Reads an instance of NetworkAdapter from the JsonReader.
Parameters:
Returns:
Throws:
index
public Integer index()
Get the index property: Logical index of the adapter.
Returns:
ipv4Configuration
public Ipv4Config ipv4Configuration()
Get the ipv4Configuration property: The IPv4 configuration of the network adapter.
Returns:
ipv6Configuration
public Ipv6Config ipv6Configuration()
Get the ipv6Configuration property: The IPv6 configuration of the network adapter.
Returns:
ipv6LinkLocalAddress
public String ipv6LinkLocalAddress()
Get the ipv6LinkLocalAddress property: The IPv6 local address.
Returns:
label
public String label()
Get the label property: Hardware label for the adapter.
Returns:
linkSpeed
public Long linkSpeed()
Get the linkSpeed property: Link speed.
Returns:
macAddress
public String macAddress()
Get the macAddress property: MAC address.
Returns:
networkAdapterName
public String networkAdapterName()
Get the networkAdapterName property: Network adapter name.
Returns:
nodeId
public String nodeId()
Get the nodeId property: Node ID of the network adapter.
Returns:
rdmaStatus
public NetworkAdapterRdmaStatus rdmaStatus()
Get the rdmaStatus property: Value indicating whether this adapter is RDMA capable.
Returns:
status
public NetworkAdapterStatus status()
Get the status property: Value indicating whether this adapter is valid.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDhcpStatus
public NetworkAdapter withDhcpStatus(NetworkAdapterDhcpStatus dhcpStatus)
Set the dhcpStatus property: Value indicating whether this adapter has DHCP enabled.
Parameters:
Returns:
withRdmaStatus
public NetworkAdapter withRdmaStatus(NetworkAdapterRdmaStatus rdmaStatus)
Set the rdmaStatus property: Value indicating whether this adapter is RDMA capable.
Parameters:
Returns: