Share via


ApplianceNetworkConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.ApplianceNetworkConfiguration

Implements

public final class ApplianceNetworkConfiguration
implements JsonSerializable<ApplianceNetworkConfiguration>

The Network Adapter configuration of a DataBox.

Constructor Summary

Constructor Description
ApplianceNetworkConfiguration()

Creates an instance of ApplianceNetworkConfiguration class.

Method Summary

Modifier and Type Method and Description
static ApplianceNetworkConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplianceNetworkConfiguration from the JsonReader.

String macAddress()

Get the macAddress property: Mac Address.

String name()

Get the name property: Name of the network.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApplianceNetworkConfiguration

public ApplianceNetworkConfiguration()

Creates an instance of ApplianceNetworkConfiguration class.

Method Details

fromJson

public static ApplianceNetworkConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ApplianceNetworkConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ApplianceNetworkConfiguration 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 ApplianceNetworkConfiguration.

macAddress

public String macAddress()

Get the macAddress property: Mac Address.

Returns:

the macAddress value.

name

public String name()

Get the name property: Name of the network.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to