ExpressRouteCircuitPeeringId Class

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

Implements

public final class ExpressRouteCircuitPeeringId
implements JsonSerializable<ExpressRouteCircuitPeeringId>

ExpressRoute circuit peering identifier.

Constructor Summary

Constructor Description
ExpressRouteCircuitPeeringId()

Creates an instance of ExpressRouteCircuitPeeringId class.

Method Summary

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

Reads an instance of ExpressRouteCircuitPeeringId from the JsonReader.

String id()

Get the id property: The ID of the ExpressRoute circuit peering.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteCircuitPeeringId withId(String id)

Set the id property: The ID of the ExpressRoute circuit peering.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteCircuitPeeringId

public ExpressRouteCircuitPeeringId()

Creates an instance of ExpressRouteCircuitPeeringId class.

Method Details

fromJson

public static ExpressRouteCircuitPeeringId fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteCircuitPeeringId from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: The ID of the ExpressRoute circuit peering.

Returns:

the id value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withId

public ExpressRouteCircuitPeeringId withId(String id)

Set the id property: The ID of the ExpressRoute circuit peering.

Parameters:

id - the id value to set.

Returns:

the ExpressRouteCircuitPeeringId object itself.

Applies to