NetworkInterface Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.NetworkInterface

Implements

public final class NetworkInterface
implements JsonSerializable<NetworkInterface>

NetworkInterface represents properties of the network interface.

Constructor Summary

Constructor Description
NetworkInterface()

Creates an instance of NetworkInterface class.

Method Summary

Modifier and Type Method and Description
String address()

Get the address property: The partial address of Peripheral Component Interconnect (PCI).

DeviceConnectionType deviceConnectionType()

Get the deviceConnectionType property: The connection type of the device.

static NetworkInterface fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterface from the JsonReader.

String model()

Get the model property: The model name of the device.

Long physicalSlot()

Get the physicalSlot property: The physical slot for this device.

Long portCount()

Get the portCount property: The number of ports on the device.

Long portSpeed()

Get the portSpeed property: The maximum amount of data in gigabits that the line card transmits through a port at any given second.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String vendor()

Get the vendor property: The vendor name of the device.

Methods inherited from java.lang.Object

Constructor Details

NetworkInterface

public NetworkInterface()

Creates an instance of NetworkInterface class.

Method Details

address

public String address()

Get the address property: The partial address of Peripheral Component Interconnect (PCI).

Returns:

the address value.

deviceConnectionType

public DeviceConnectionType deviceConnectionType()

Get the deviceConnectionType property: The connection type of the device.

Returns:

the deviceConnectionType value.

fromJson

public static NetworkInterface fromJson(JsonReader jsonReader)

Reads an instance of NetworkInterface from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of NetworkInterface if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the NetworkInterface.

model

public String model()

Get the model property: The model name of the device.

Returns:

the model value.

physicalSlot

public Long physicalSlot()

Get the physicalSlot property: The physical slot for this device.

Returns:

the physicalSlot value.

portCount

public Long portCount()

Get the portCount property: The number of ports on the device.

Returns:

the portCount value.

portSpeed

public Long portSpeed()

Get the portSpeed property: The maximum amount of data in gigabits that the line card transmits through a port at any given second.

Returns:

the portSpeed value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

vendor

public String vendor()

Get the vendor property: The vendor name of the device.

Returns:

the vendor value.

Applies to