ExpressRouteCircuitReference Class

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

Implements

public final class ExpressRouteCircuitReference
implements JsonSerializable<ExpressRouteCircuitReference>

Reference to an express route circuit.

Constructor Summary

Constructor Description
ExpressRouteCircuitReference()

Creates an instance of ExpressRouteCircuitReference class.

Method Summary

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

Reads an instance of ExpressRouteCircuitReference from the JsonReader.

String id()

Get the id property: Corresponding Express Route Circuit Id.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteCircuitReference withId(String id)

Set the id property: Corresponding Express Route Circuit Id.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitReference

public ExpressRouteCircuitReference()

Creates an instance of ExpressRouteCircuitReference class.

Method Details

fromJson

public static ExpressRouteCircuitReference fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Corresponding Express Route Circuit Id.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public ExpressRouteCircuitReference withId(String id)

Set the id property: Corresponding Express Route Circuit Id.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteCircuitReference object itself.

Applies to