Partager via


ExpressRouteFailoverCircuitResourceDetails Class

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

Implements

public final class ExpressRouteFailoverCircuitResourceDetails
implements JsonSerializable<ExpressRouteFailoverCircuitResourceDetails>

The ExpressRouteFailoverCircuitResourceDetails model.

Constructor Summary

Constructor Description
ExpressRouteFailoverCircuitResourceDetails()

Creates an instance of ExpressRouteFailoverCircuitResourceDetails class.

Method Summary

Modifier and Type Method and Description
String connectionName()

Get the connectionName property: Connection name associated with the circuit.

static ExpressRouteFailoverCircuitResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteFailoverCircuitResourceDetails from the JsonReader.

String name()

Get the name property: Circuit Name.

String nrpResourceUri()

Get the nrpResourceUri property: NRP Resource URI of the circuit.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteFailoverCircuitResourceDetails withConnectionName(String connectionName)

Set the connectionName property: Connection name associated with the circuit.

ExpressRouteFailoverCircuitResourceDetails withName(String name)

Set the name property: Circuit Name.

ExpressRouteFailoverCircuitResourceDetails withNrpResourceUri(String nrpResourceUri)

Set the nrpResourceUri property: NRP Resource URI of the circuit.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteFailoverCircuitResourceDetails

public ExpressRouteFailoverCircuitResourceDetails()

Creates an instance of ExpressRouteFailoverCircuitResourceDetails class.

Method Details

connectionName

public String connectionName()

Get the connectionName property: Connection name associated with the circuit.

Returns:

the connectionName value.

fromJson

public static ExpressRouteFailoverCircuitResourceDetails fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteFailoverCircuitResourceDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Circuit Name.

Returns:

the name value.

nrpResourceUri

public String nrpResourceUri()

Get the nrpResourceUri property: NRP Resource URI of the circuit.

Returns:

the nrpResourceUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withConnectionName

public ExpressRouteFailoverCircuitResourceDetails withConnectionName(String connectionName)

Set the connectionName property: Connection name associated with the circuit.

Parameters:

connectionName - the connectionName value to set.

Returns:

the ExpressRouteFailoverCircuitResourceDetails object itself.

withName

public ExpressRouteFailoverCircuitResourceDetails withName(String name)

Set the name property: Circuit Name.

Parameters:

name - the name value to set.

Returns:

the ExpressRouteFailoverCircuitResourceDetails object itself.

withNrpResourceUri

public ExpressRouteFailoverCircuitResourceDetails withNrpResourceUri(String nrpResourceUri)

Set the nrpResourceUri property: NRP Resource URI of the circuit.

Parameters:

nrpResourceUri - the nrpResourceUri value to set.

Returns:

the ExpressRouteFailoverCircuitResourceDetails object itself.

Applies to