Class ExpressRouteFailoverTestDetailsInner

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

public final class ExpressRouteFailoverTestDetailsInner extends Object implements com.azure.json.JsonSerializable<ExpressRouteFailoverTestDetailsInner>
ExpressRoute failover test details.
  • Constructor Details

    • ExpressRouteFailoverTestDetailsInner

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

    • peeringLocation

      public String peeringLocation()
      Get the peeringLocation property: Peering location of the test.
      Returns:
      the peeringLocation value.
    • withPeeringLocation

      public ExpressRouteFailoverTestDetailsInner withPeeringLocation(String peeringLocation)
      Set the peeringLocation property: Peering location of the test.
      Parameters:
      peeringLocation - the peeringLocation value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • circuits

      Get the circuits property: All circuits in the peering location.
      Returns:
      the circuits value.
    • withCircuits

      Set the circuits property: All circuits in the peering location.
      Parameters:
      circuits - the circuits value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • status

      public FailoverTestStatus status()
      Get the status property: The current status of the test.
      Returns:
      the status value.
    • withStatus

      Set the status property: The current status of the test.
      Parameters:
      status - the status value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • startTime

      public String startTime()
      Get the startTime property: Time when the test was started.
      Returns:
      the startTime value.
    • withStartTime

      public ExpressRouteFailoverTestDetailsInner withStartTime(String startTime)
      Set the startTime property: Time when the test was started.
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • endTime

      public String endTime()
      Get the endTime property: Time when the test was completed.
      Returns:
      the endTime value.
    • withEndTime

      public ExpressRouteFailoverTestDetailsInner withEndTime(String endTime)
      Set the endTime property: Time when the test was completed.
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • connections

      Get the connections property: All connections to the circuits in the peering location.
      Returns:
      the connections value.
    • withConnections

      Set the connections property: All connections to the circuits in the peering location.
      Parameters:
      connections - the connections value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • testGuid

      public String testGuid()
      Get the testGuid property: The unique GUID associated with the test.
      Returns:
      the testGuid value.
    • withTestGuid

      public ExpressRouteFailoverTestDetailsInner withTestGuid(String testGuid)
      Set the testGuid property: The unique GUID associated with the test.
      Parameters:
      testGuid - the testGuid value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • testType

      public FailoverTestType testType()
      Get the testType property: The type of failover test.
      Returns:
      the testType value.
    • withTestType

      Set the testType property: The type of failover test.
      Parameters:
      testType - the testType value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner object itself.
    • issues

      public List<String> issues()
      Get the issues property: A list of all issues with the test.
      Returns:
      the issues value.
    • withIssues

      public ExpressRouteFailoverTestDetailsInner withIssues(List<String> issues)
      Set the issues property: A list of all issues with the test.
      Parameters:
      issues - the issues value to set.
      Returns:
      the ExpressRouteFailoverTestDetailsInner 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<ExpressRouteFailoverTestDetailsInner>
      Throws:
      IOException
    • fromJson

      public static ExpressRouteFailoverTestDetailsInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExpressRouteFailoverTestDetailsInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExpressRouteFailoverTestDetailsInner 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 ExpressRouteFailoverTestDetailsInner.