Class RadiusAuthServer

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

public final class RadiusAuthServer extends Object implements com.azure.json.JsonSerializable<RadiusAuthServer>
Gateway or VpnServerConfiguration Radius server with radius secret details.
  • Constructor Details

    • RadiusAuthServer

      public RadiusAuthServer()
      Creates an instance of RadiusAuthServer class.
  • Method Details

    • radiusServerAddress

      public String radiusServerAddress()
      Get the radiusServerAddress property: Radius server IPAddress.
      Returns:
      the radiusServerAddress value.
    • withRadiusServerAddress

      public RadiusAuthServer withRadiusServerAddress(String radiusServerAddress)
      Set the radiusServerAddress property: Radius server IPAddress.
      Parameters:
      radiusServerAddress - the radiusServerAddress value to set.
      Returns:
      the RadiusAuthServer object itself.
    • radiusServerSecret

      public String radiusServerSecret()
      Get the radiusServerSecret property: Radius server secret.
      Returns:
      the radiusServerSecret value.
    • withRadiusServerSecret

      public RadiusAuthServer withRadiusServerSecret(String radiusServerSecret)
      Set the radiusServerSecret property: Radius server secret.
      Parameters:
      radiusServerSecret - the radiusServerSecret value to set.
      Returns:
      the RadiusAuthServer 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<RadiusAuthServer>
      Throws:
      IOException
    • fromJson

      public static RadiusAuthServer fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RadiusAuthServer from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RadiusAuthServer 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 RadiusAuthServer.