Class FailoverConnectionDetails

java.lang.Object
com.azure.resourcemanager.network.models.FailoverConnectionDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<FailoverConnectionDetails>

public final class FailoverConnectionDetails extends Object implements com.azure.json.JsonSerializable<FailoverConnectionDetails>
The FailoverConnectionDetails model.
  • 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.
    • 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.
    • failoverLocation

      public String failoverLocation()
      Get the failoverLocation property: Location of the failover connection.
      Returns:
      the failoverLocation value.
    • 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.
    • 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.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<FailoverConnectionDetails>
      Throws:
      IOException
    • fromJson

      public static FailoverConnectionDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.