Share via


CircuitMetadataMap Class

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

Implements

public final class CircuitMetadataMap
implements JsonSerializable<CircuitMetadataMap>

The CircuitMetadataMap model.

Constructor Summary

Constructor Description
CircuitMetadataMap()

Creates an instance of CircuitMetadataMap class.

Method Summary

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

Reads an instance of CircuitMetadataMap from the JsonReader.

String link()

Get the link property: Link to the Express Route circuit.

String location()

Get the location property: Peering location of the Express Route Circuit.

String name()

Get the name property: Express Route Circuit Name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CircuitMetadataMap withLink(String link)

Set the link property: Link to the Express Route circuit.

CircuitMetadataMap withLocation(String location)

Set the location property: Peering location of the Express Route Circuit.

CircuitMetadataMap withName(String name)

Set the name property: Express Route Circuit Name.

Methods inherited from java.lang.Object

Constructor Details

CircuitMetadataMap

public CircuitMetadataMap()

Creates an instance of CircuitMetadataMap class.

Method Details

fromJson

public static CircuitMetadataMap fromJson(JsonReader jsonReader)

Reads an instance of CircuitMetadataMap from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

link

public String link()

Get the link property: Link to the Express Route circuit.

Returns:

the link value.

location

public String location()

Get the location property: Peering location of the Express Route Circuit.

Returns:

the location value.

name

public String name()

Get the name property: Express Route Circuit Name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withLink

public CircuitMetadataMap withLink(String link)

Set the link property: Link to the Express Route circuit.

Parameters:

link - the link value to set.

Returns:

the CircuitMetadataMap object itself.

withLocation

public CircuitMetadataMap withLocation(String location)

Set the location property: Peering location of the Express Route Circuit.

Parameters:

location - the location value to set.

Returns:

the CircuitMetadataMap object itself.

withName

public CircuitMetadataMap withName(String name)

Set the name property: Express Route Circuit Name.

Parameters:

name - the name value to set.

Returns:

the CircuitMetadataMap object itself.

Applies to