HardwareInventoryNetworkInterface Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. HardwareInventoryNetworkInterface
- com.
Implements
public final class HardwareInventoryNetworkInterface
implements JsonSerializable<HardwareInventoryNetworkInterface>
HardwareInventoryNetworkInterface represents the network interface details as part of a hardware inventory.
Constructor Summary
| Constructor | Description |
|---|---|
| HardwareInventoryNetworkInterface() |
Creates an instance of Hardware |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Hardware |
fromJson(JsonReader jsonReader)
Reads an instance of Hardware |
| String |
linkStatus()
Get the link |
| String |
macAddress()
Get the mac |
| String |
name()
Get the name property: The name of the interface. |
| String |
networkInterfaceId()
Get the network |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
HardwareInventoryNetworkInterface
public HardwareInventoryNetworkInterface()
Creates an instance of HardwareInventoryNetworkInterface class.
Method Details
fromJson
public static HardwareInventoryNetworkInterface fromJson(JsonReader jsonReader)
Reads an instance of HardwareInventoryNetworkInterface from the JsonReader.
Parameters:
Returns:
Throws:
linkStatus
public String linkStatus()
Get the linkStatus property: The current status of the link.
Returns:
macAddress
public String macAddress()
Get the macAddress property: The MAC address associated with this interface.
Returns:
name
public String name()
Get the name property: The name of the interface.
Returns:
networkInterfaceId
public String networkInterfaceId()
Get the networkInterfaceId property: The resource ID of the network interface for the port on the switch that this machine's interface is connected to.
Returns:
toJson
validate
public void validate()
Validates the instance.