Class ExpressRouteFailoverCircuitResourceDetails

java.lang.Object
com.azure.resourcemanager.network.models.ExpressRouteFailoverCircuitResourceDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExpressRouteFailoverCircuitResourceDetails>

public final class ExpressRouteFailoverCircuitResourceDetails extends Object implements com.azure.json.JsonSerializable<ExpressRouteFailoverCircuitResourceDetails>
The ExpressRouteFailoverCircuitResourceDetails model.
  • Constructor Details

    • ExpressRouteFailoverCircuitResourceDetails

      public ExpressRouteFailoverCircuitResourceDetails()
      Creates an instance of ExpressRouteFailoverCircuitResourceDetails class.
  • Method Details

    • nrpResourceUri

      public String nrpResourceUri()
      Get the nrpResourceUri property: NRP Resource URI of the circuit.
      Returns:
      the nrpResourceUri value.
    • 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.
    • name

      public String name()
      Get the name property: Circuit Name.
      Returns:
      the name value.
    • withName

      Set the name property: Circuit Name.
      Parameters:
      name - the name value to set.
      Returns:
      the ExpressRouteFailoverCircuitResourceDetails object itself.
    • connectionName

      public String connectionName()
      Get the connectionName property: Connection name associated with the circuit.
      Returns:
      the connectionName value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ExpressRouteFailoverCircuitResourceDetails>
      Throws:
      IOException
    • fromJson

      public static ExpressRouteFailoverCircuitResourceDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.