ExpressRouteDiagnosticsSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.ExpressRouteDiagnosticsSettings

Implements

public final class ExpressRouteDiagnosticsSettings
implements JsonSerializable<ExpressRouteDiagnosticsSettings>

Settings that control how Express Route diagnostics are performed by the connection analyzer.

Constructor Summary

Constructor Description
ExpressRouteDiagnosticsSettings()

Creates an instance of ExpressRouteDiagnosticsSettings class.

Method Summary

Modifier and Type Method and Description
Float bandwidth()

Get the bandwidth property: Bandwidth (in Mbps) to use for the Express Route diagnostic.

String erCircuitResourceId()

Get the erCircuitResourceId property: Resource ID of the Express Route circuit.

static ExpressRouteDiagnosticsSettings fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteDiagnosticsSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteDiagnosticsSettings withBandwidth(Float bandwidth)

Set the bandwidth property: Bandwidth (in Mbps) to use for the Express Route diagnostic.

ExpressRouteDiagnosticsSettings withErCircuitResourceId(String erCircuitResourceId)

Set the erCircuitResourceId property: Resource ID of the Express Route circuit.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteDiagnosticsSettings

public ExpressRouteDiagnosticsSettings()

Creates an instance of ExpressRouteDiagnosticsSettings class.

Method Details

bandwidth

public Float bandwidth()

Get the bandwidth property: Bandwidth (in Mbps) to use for the Express Route diagnostic.

Returns:

the bandwidth value.

erCircuitResourceId

public String erCircuitResourceId()

Get the erCircuitResourceId property: Resource ID of the Express Route circuit.

Returns:

the erCircuitResourceId value.

fromJson

public static ExpressRouteDiagnosticsSettings fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteDiagnosticsSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withBandwidth

public ExpressRouteDiagnosticsSettings withBandwidth(Float bandwidth)

Set the bandwidth property: Bandwidth (in Mbps) to use for the Express Route diagnostic.

Parameters:

bandwidth - the bandwidth value to set.

Returns:

the ExpressRouteDiagnosticsSettings object itself.

withErCircuitResourceId

public ExpressRouteDiagnosticsSettings withErCircuitResourceId(String erCircuitResourceId)

Set the erCircuitResourceId property: Resource ID of the Express Route circuit.

Parameters:

erCircuitResourceId - the erCircuitResourceId value to set.

Returns:

the ExpressRouteDiagnosticsSettings object itself.

Applies to