Compartir a través de


FailoverConnectionDetails Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.FailoverConnectionDetails

Implements

public final class FailoverConnectionDetails
implements JsonSerializable<FailoverConnectionDetails>

The FailoverConnectionDetails model.

Constructor Summary

Constructor Description
FailoverConnectionDetails()

Creates an instance of FailoverConnectionDetails class.

Method Summary

Modifier and Type Method and Description
String failoverConnectionName()

Get the failoverConnectionName property: Name of the failover connection.

String failoverLocation()

Get the failoverLocation property: Location of the failover connection.

static FailoverConnectionDetails fromJson(JsonReader jsonReader)

Reads an instance of FailoverConnectionDetails from the JsonReader.

Boolean isVerified()

Get the isVerified property: Whether the customer was able to establish connectivity through this failover connection or not.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

FailoverConnectionDetails withFailoverConnectionName(String failoverConnectionName)

Set the failoverConnectionName property: Name of the failover connection.

FailoverConnectionDetails withFailoverLocation(String failoverLocation)

Set the failoverLocation property: Location of the failover connection.

FailoverConnectionDetails withIsVerified(Boolean isVerified)

Set the isVerified property: Whether the customer was able to establish connectivity through this failover connection or not.

Methods inherited from java.lang.Object

Constructor Details

FailoverConnectionDetails

public FailoverConnectionDetails()

Creates an instance of FailoverConnectionDetails class.

Method Details

failoverConnectionName

public String failoverConnectionName()

Get the failoverConnectionName property: Name of the failover connection.

Returns:

the failoverConnectionName value.

failoverLocation

public String failoverLocation()

Get the failoverLocation property: Location of the failover connection.

Returns:

the failoverLocation value.

fromJson

public static FailoverConnectionDetails fromJson(JsonReader jsonReader)

Reads an instance of FailoverConnectionDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of FailoverConnectionDetails 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 FailoverConnectionDetails.

isVerified

public Boolean isVerified()

Get the isVerified property: Whether the customer was able to establish connectivity through this failover connection or not.

Returns:

the isVerified value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFailoverConnectionName

public FailoverConnectionDetails withFailoverConnectionName(String failoverConnectionName)

Set the failoverConnectionName property: Name of the failover connection.

Parameters:

failoverConnectionName - the failoverConnectionName value to set.

Returns:

the FailoverConnectionDetails object itself.

withFailoverLocation

public FailoverConnectionDetails withFailoverLocation(String failoverLocation)

Set the failoverLocation property: Location of the failover connection.

Parameters:

failoverLocation - the failoverLocation value to set.

Returns:

the FailoverConnectionDetails object itself.

withIsVerified

public FailoverConnectionDetails withIsVerified(Boolean isVerified)

Set the isVerified property: Whether the customer was able to establish connectivity through this failover connection or not.

Parameters:

isVerified - the isVerified value to set.

Returns:

the FailoverConnectionDetails object itself.

Applies to