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 Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteFailoverSingleTestDetailsInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endTimeUtc property: Time when the test was completed.Get the failoverConnectionDetails property: List of all the failover connections for this peering location.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteFailoverSingleTestDetailsInner from the JsonReader.Get the nonRedundantRoutes property: List of al the routes that were received only from this peering location.Get the peeringLocation property: Peering location of the test.Get the redundantRoutes property: List of routes received from this peering as well as some other peering location.Get the startTimeUtc property: Time when the test was started.status()Get the status property: The current status of the test.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the wasSimulationSuccessful property: Whether the failover simulation was successful or not.withEndTimeUtc(String endTimeUtc) Set the endTimeUtc property: Time when the test was completed.withFailoverConnectionDetails(List<FailoverConnectionDetails> failoverConnectionDetails) Set the failoverConnectionDetails property: List of all the failover connections for this peering location.withNonRedundantRoutes(List<String> nonRedundantRoutes) Set the nonRedundantRoutes property: List of al the routes that were received only from this peering location.withPeeringLocation(String peeringLocation) Set the peeringLocation property: Peering location of the test.withRedundantRoutes(List<ExpressRouteFailoverRedundantRoute> redundantRoutes) Set the redundantRoutes property: List of routes received from this peering as well as some other peering location.withStartTimeUtc(String startTimeUtc) Set the startTimeUtc property: Time when the test was started.Set the status property: The current status of the test.withWasSimulationSuccessful(Boolean wasSimulationSuccessful) Set the wasSimulationSuccessful property: Whether the failover simulation was successful or not.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ExpressRouteFailoverSingleTestDetailsInner
public ExpressRouteFailoverSingleTestDetailsInner()Creates an instance of ExpressRouteFailoverSingleTestDetailsInner class.
-
-
Method Details
-
peeringLocation
Get the peeringLocation property: Peering location of the test.- Returns:
- the peeringLocation value.
-
withPeeringLocation
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
public ExpressRouteFailoverSingleTestDetailsInner withStatus(FailoverTestStatusForSingleTest status) Set the status property: The current status of the test.- Parameters:
status- the status value to set.- Returns:
- the ExpressRouteFailoverSingleTestDetailsInner object itself.
-
startTimeUtc
Get the startTimeUtc property: Time when the test was started.- Returns:
- the startTimeUtc value.
-
withStartTimeUtc
Set the startTimeUtc property: Time when the test was started.- Parameters:
startTimeUtc- the startTimeUtc value to set.- Returns:
- the ExpressRouteFailoverSingleTestDetailsInner object itself.
-
endTimeUtc
Get the endTimeUtc property: Time when the test was completed.- Returns:
- the endTimeUtc value.
-
withEndTimeUtc
Set the endTimeUtc property: Time when the test was completed.- Parameters:
endTimeUtc- the endTimeUtc value to set.- Returns:
- the ExpressRouteFailoverSingleTestDetailsInner object itself.
-
redundantRoutes
Get the redundantRoutes property: List of routes received from this peering as well as some other peering location.- Returns:
- the redundantRoutes value.
-
withRedundantRoutes
public ExpressRouteFailoverSingleTestDetailsInner withRedundantRoutes(List<ExpressRouteFailoverRedundantRoute> redundantRoutes) 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
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
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
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
- Specified by:
toJsonin interfacecom.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.
-