Compartir a través de


ExpressRouteFailoverSingleTestDetailsInner Class

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

Implements

public final class ExpressRouteFailoverSingleTestDetailsInner
implements JsonSerializable<ExpressRouteFailoverSingleTestDetailsInner>

ExpressRoute failover single test details.

Constructor Summary

Constructor Description
ExpressRouteFailoverSingleTestDetailsInner()

Creates an instance of ExpressRouteFailoverSingleTestDetailsInner class.

Method Summary

Modifier and Type Method and Description
String endTimeUtc()

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

List<FailoverConnectionDetails> failoverConnectionDetails()

Get the failoverConnectionDetails property: List of all the failover connections for this peering location.

static ExpressRouteFailoverSingleTestDetailsInner fromJson(JsonReader jsonReader)

Reads an instance of ExpressRouteFailoverSingleTestDetailsInner from the JsonReader.

List<String> nonRedundantRoutes()

Get the nonRedundantRoutes property: List of al the routes that were received only from this peering location.

String peeringLocation()

Get the peeringLocation property: Peering location of the test.

List<ExpressRouteFailoverRedundantRoute> redundantRoutes()

Get the redundantRoutes property: List of routes received from this peering as well as some other peering location.

String startTimeUtc()

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

FailoverTestStatusForSingleTest status()

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

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Boolean wasSimulationSuccessful()

Get the wasSimulationSuccessful property: Whether the failover simulation was successful or not.

ExpressRouteFailoverSingleTestDetailsInner withEndTimeUtc(String endTimeUtc)

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

ExpressRouteFailoverSingleTestDetailsInner withFailoverConnectionDetails(List<FailoverConnectionDetails> failoverConnectionDetails)

Set the failoverConnectionDetails property: List of all the failover connections for this peering location.

ExpressRouteFailoverSingleTestDetailsInner withNonRedundantRoutes(List<String> nonRedundantRoutes)

Set the nonRedundantRoutes property: List of al the routes that were received only from this peering location.

ExpressRouteFailoverSingleTestDetailsInner withPeeringLocation(String peeringLocation)

Set the peeringLocation property: Peering location of the test.

ExpressRouteFailoverSingleTestDetailsInner withRedundantRoutes(List<ExpressRouteFailoverRedundantRoute> redundantRoutes)

Set the redundantRoutes property: List of routes received from this peering as well as some other peering location.

ExpressRouteFailoverSingleTestDetailsInner withStartTimeUtc(String startTimeUtc)

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

ExpressRouteFailoverSingleTestDetailsInner withStatus(FailoverTestStatusForSingleTest status)

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

ExpressRouteFailoverSingleTestDetailsInner withWasSimulationSuccessful(Boolean wasSimulationSuccessful)

Set the wasSimulationSuccessful property: Whether the failover simulation was successful or not.

Methods inherited from java.lang.Object

Constructor Details

ExpressRouteFailoverSingleTestDetailsInner

public ExpressRouteFailoverSingleTestDetailsInner()

Creates an instance of ExpressRouteFailoverSingleTestDetailsInner class.

Method Details

endTimeUtc

public String endTimeUtc()

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

Returns:

the endTimeUtc value.

failoverConnectionDetails

public List failoverConnectionDetails()

Get the failoverConnectionDetails property: List of all the failover connections for this peering location.

Returns:

the failoverConnectionDetails value.

fromJson

public static ExpressRouteFailoverSingleTestDetailsInner fromJson(JsonReader jsonReader)

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.

nonRedundantRoutes

public List nonRedundantRoutes()

Get the nonRedundantRoutes property: List of al the routes that were received only from this peering location.

Returns:

the nonRedundantRoutes value.

peeringLocation

public String peeringLocation()

Get the peeringLocation property: Peering location of the test.

Returns:

the peeringLocation value.

redundantRoutes

public List redundantRoutes()

Get the redundantRoutes property: List of routes received from this peering as well as some other peering location.

Returns:

the redundantRoutes value.

startTimeUtc

public String startTimeUtc()

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

Returns:

the startTimeUtc value.

status

public FailoverTestStatusForSingleTest status()

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

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

wasSimulationSuccessful

public Boolean wasSimulationSuccessful()

Get the wasSimulationSuccessful property: Whether the failover simulation was successful or not.

Returns:

the wasSimulationSuccessful 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.

withFailoverConnectionDetails

public ExpressRouteFailoverSingleTestDetailsInner withFailoverConnectionDetails(List 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.

withNonRedundantRoutes

public ExpressRouteFailoverSingleTestDetailsInner withNonRedundantRoutes(List 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.

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.

withRedundantRoutes

public ExpressRouteFailoverSingleTestDetailsInner withRedundantRoutes(List 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.

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.

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.

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.

Applies to