Class ExpressRouteFailoverSingleTestDetailsInner

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

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

    • ExpressRouteFailoverSingleTestDetailsInner

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

    • peeringLocation

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

      public ExpressRouteFailoverSingleTestDetailsInner withPeeringLocation(String peeringLocation)
      Set the peeringLocation property: Peering location of the test.
      Parameters:
      peeringLocation - the peeringLocation value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • 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 ExpressRouteFailoverSingleTestDetailsInner object itself.
    • startTimeUtc

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

      public ExpressRouteFailoverSingleTestDetailsInner withStartTimeUtc(String startTimeUtc)
      Set the startTimeUtc property: Time when the test was started.
      Parameters:
      startTimeUtc - the startTimeUtc value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • endTimeUtc

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

      public ExpressRouteFailoverSingleTestDetailsInner withEndTimeUtc(String endTimeUtc)
      Set the endTimeUtc property: Time when the test was completed.
      Parameters:
      endTimeUtc - the endTimeUtc value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • redundantRoutes

      public List<ExpressRouteFailoverRedundantRoute> redundantRoutes()
      Get the redundantRoutes property: List of routes received from this peering as well as some other peering location.
      Returns:
      the redundantRoutes value.
    • withRedundantRoutes

      Set the redundantRoutes property: List of routes received from this peering as well as some other peering location.
      Parameters:
      redundantRoutes - the redundantRoutes value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • nonRedundantRoutes

      public List<String> nonRedundantRoutes()
      Get the nonRedundantRoutes property: List of al the routes that were received only from this peering location.
      Returns:
      the nonRedundantRoutes value.
    • withNonRedundantRoutes

      public ExpressRouteFailoverSingleTestDetailsInner withNonRedundantRoutes(List<String> nonRedundantRoutes)
      Set the nonRedundantRoutes property: List of al the routes that were received only from this peering location.
      Parameters:
      nonRedundantRoutes - the nonRedundantRoutes value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • wasSimulationSuccessful

      public Boolean wasSimulationSuccessful()
      Get the wasSimulationSuccessful property: Whether the failover simulation was successful or not.
      Returns:
      the wasSimulationSuccessful value.
    • withWasSimulationSuccessful

      public ExpressRouteFailoverSingleTestDetailsInner withWasSimulationSuccessful(Boolean wasSimulationSuccessful)
      Set the wasSimulationSuccessful property: Whether the failover simulation was successful or not.
      Parameters:
      wasSimulationSuccessful - the wasSimulationSuccessful value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner object itself.
    • failoverConnectionDetails

      public List<FailoverConnectionDetails> failoverConnectionDetails()
      Get the failoverConnectionDetails property: List of all the failover connections for this peering location.
      Returns:
      the failoverConnectionDetails value.
    • withFailoverConnectionDetails

      public ExpressRouteFailoverSingleTestDetailsInner withFailoverConnectionDetails(List<FailoverConnectionDetails> failoverConnectionDetails)
      Set the failoverConnectionDetails property: List of all the failover connections for this peering location.
      Parameters:
      failoverConnectionDetails - the failoverConnectionDetails value to set.
      Returns:
      the ExpressRouteFailoverSingleTestDetailsInner 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<ExpressRouteFailoverSingleTestDetailsInner>
      Throws:
      IOException
    • fromJson

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