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 Summary
ConstructorsConstructorDescriptionCreates an instance of ExpressRouteFailoverTestDetailsInner class. -
Method Summary
Modifier and TypeMethodDescriptioncircuits()Get the circuits property: All circuits in the peering location.Get the connections property: All connections to the circuits in the peering location.endTime()Get the endTime property: Time when the test was completed.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExpressRouteFailoverTestDetailsInner from the JsonReader.issues()Get the issues property: A list of all issues with the test.Get the peeringLocation property: Peering location of the test.Get the startTime property: Time when the test was started.status()Get the status property: The current status of the test.testGuid()Get the testGuid property: The unique GUID associated with the test.testType()Get the testType property: The type of failover test.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Set the circuits property: All circuits in the peering location.withConnections(List<ExpressRouteFailoverConnectionResourceDetails> connections) Set the connections property: All connections to the circuits in the peering location.withEndTime(String endTime) Set the endTime property: Time when the test was completed.withIssues(List<String> issues) Set the issues property: A list of all issues with the test.withPeeringLocation(String peeringLocation) Set the peeringLocation property: Peering location of the test.withStartTime(String startTime) Set the startTime property: Time when the test was started.withStatus(FailoverTestStatus status) Set the status property: The current status of the test.withTestGuid(String testGuid) Set the testGuid property: The unique GUID associated with the test.withTestType(FailoverTestType testType) Set the testType property: The type of failover test.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
-
ExpressRouteFailoverTestDetailsInner
public ExpressRouteFailoverTestDetailsInner()Creates an instance of ExpressRouteFailoverTestDetailsInner 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 ExpressRouteFailoverTestDetailsInner object itself.
-
circuits
Get the circuits property: All circuits in the peering location.- Returns:
- the circuits value.
-
withCircuits
public ExpressRouteFailoverTestDetailsInner withCircuits(List<ExpressRouteFailoverCircuitResourceDetails> circuits) Set the circuits property: All circuits in the peering location.- Parameters:
circuits- the circuits value to set.- Returns:
- the ExpressRouteFailoverTestDetailsInner 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 ExpressRouteFailoverTestDetailsInner object itself.
-
startTime
Get the startTime property: Time when the test was started.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Time when the test was started.- Parameters:
startTime- the startTime value to set.- Returns:
- the ExpressRouteFailoverTestDetailsInner object itself.
-
endTime
Get the endTime property: Time when the test was completed.- Returns:
- the endTime value.
-
withEndTime
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
public ExpressRouteFailoverTestDetailsInner withConnections(List<ExpressRouteFailoverConnectionResourceDetails> connections) 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
Get the testGuid property: The unique GUID associated with the test.- Returns:
- the testGuid value.
-
withTestGuid
Set the testGuid property: The unique GUID associated with the test.- Parameters:
testGuid- the testGuid value to set.- Returns:
- the ExpressRouteFailoverTestDetailsInner object itself.
-
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
Get the issues property: A list of all issues with the test.- Returns:
- the issues value.
-
withIssues
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
- Specified by:
toJsonin interfacecom.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.
-