Partager via


ExpressRouteFailoverTestDetailsInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.ExpressRouteFailoverTestDetailsInner

Implements

public final class ExpressRouteFailoverTestDetailsInner
implements JsonSerializable<ExpressRouteFailoverTestDetailsInner>

ExpressRoute failover test details.

Constructor Summary

Constructor Description
ExpressRouteFailoverTestDetailsInner()

Creates an instance of ExpressRouteFailoverTestDetailsInner class.

Method Summary

Modifier and Type Method and Description
List<ExpressRouteFailoverCircuitResourceDetails> circuits()

Get the circuits property: All circuits in the peering location.

List<ExpressRouteFailoverConnectionResourceDetails> connections()

Get the connections property: All connections to the circuits in the peering location.

String endTime()

Get the endTime property: Time when the test was completed.

static ExpressRouteFailoverTestDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteFailoverTestDetailsInner from the JsonReader.

List<String> issues()

Get the issues property: A list of all issues with the test.

String peeringLocation()

Get the peeringLocation property: Peering location of the test.

String startTime()

Get the startTime property: Time when the test was started.

FailoverTestStatus status()

Get the status property: The current status of the test.

String testGuid()

Get the testGuid property: The unique GUID associated with the test.

FailoverTestType testType()

Get the testType property: The type of failover test.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ExpressRouteFailoverTestDetailsInner withCircuits(List<ExpressRouteFailoverCircuitResourceDetails> circuits)

Set the circuits property: All circuits in the peering location.

ExpressRouteFailoverTestDetailsInner withConnections(List<ExpressRouteFailoverConnectionResourceDetails> connections)

Set the connections property: All connections to the circuits in the peering location.

ExpressRouteFailoverTestDetailsInner withEndTime(String endTime)

Set the endTime property: Time when the test was completed.

ExpressRouteFailoverTestDetailsInner withIssues(List<String> issues)

Set the issues property: A list of all issues with the test.

ExpressRouteFailoverTestDetailsInner withPeeringLocation(String peeringLocation)

Set the peeringLocation property: Peering location of the test.

ExpressRouteFailoverTestDetailsInner withStartTime(String startTime)

Set the startTime property: Time when the test was started.

ExpressRouteFailoverTestDetailsInner withStatus(FailoverTestStatus status)

Set the status property: The current status of the test.

ExpressRouteFailoverTestDetailsInner withTestGuid(String testGuid)

Set the testGuid property: The unique GUID associated with the test.

ExpressRouteFailoverTestDetailsInner withTestType(FailoverTestType testType)

Set the testType property: The type of failover test.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteFailoverTestDetailsInner

public ExpressRouteFailoverTestDetailsInner()

Creates an instance of ExpressRouteFailoverTestDetailsInner class.

Method Details

circuits

public List circuits()

Get the circuits property: All circuits in the peering location.

Returns:

the circuits value.

connections

public List connections()

Get the connections property: All connections to the circuits in the peering location.

Returns:

the connections value.

endTime

public String endTime()

Get the endTime property: Time when the test was completed.

Returns:

the endTime value.

fromJson

public static ExpressRouteFailoverTestDetailsInner fromJson(JsonReader jsonReader)

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.

issues

public List issues()

Get the issues property: A list of all issues with the test.

Returns:

the issues value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: Peering location of the test.

Returns:

the peeringLocation value.

startTime

public String startTime()

Get the startTime property: Time when the test was started.

Returns:

the startTime value.

status

public FailoverTestStatus status()

Get the status property: The current status of the test.

Returns:

the status value.

testGuid

public String testGuid()

Get the testGuid property: The unique GUID associated with the test.

Returns:

the testGuid value.

testType

public FailoverTestType testType()

Get the testType property: The type of failover test.

Returns:

the testType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCircuits

public ExpressRouteFailoverTestDetailsInner withCircuits(List circuits)

Set the circuits property: All circuits in the peering location.

Parameters:

circuits - the circuits value to set.

Returns:

the ExpressRouteFailoverTestDetailsInner object itself.

withConnections

public ExpressRouteFailoverTestDetailsInner withConnections(List 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.

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.

withIssues

public ExpressRouteFailoverTestDetailsInner withIssues(List 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.

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.

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.

withStatus

public ExpressRouteFailoverTestDetailsInner withStatus(FailoverTestStatus status)

Set the status property: The current status of the test.

Parameters:

status - the status value to set.

Returns:

the ExpressRouteFailoverTestDetailsInner object itself.

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.

withTestType

public ExpressRouteFailoverTestDetailsInner withTestType(FailoverTestType testType)

Set the testType property: The type of failover test.

Parameters:

testType - the testType value to set.

Returns:

the ExpressRouteFailoverTestDetailsInner object itself.

Applies to