Class RadiusServer

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

public final class RadiusServer extends Object implements com.azure.json.JsonSerializable<RadiusServer>
Radius Server Settings.
  • Constructor Details

    • RadiusServer

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

    • radiusServerAddress

      public String radiusServerAddress()
      Get the radiusServerAddress property: The address of this radius server.
      Returns:
      the radiusServerAddress value.
    • withRadiusServerAddress

      public RadiusServer withRadiusServerAddress(String radiusServerAddress)
      Set the radiusServerAddress property: The address of this radius server.
      Parameters:
      radiusServerAddress - the radiusServerAddress value to set.
      Returns:
      the RadiusServer object itself.
    • radiusServerScore

      public Long radiusServerScore()
      Get the radiusServerScore property: The initial score assigned to this radius server.
      Returns:
      the radiusServerScore value.
    • withRadiusServerScore

      public RadiusServer withRadiusServerScore(Long radiusServerScore)
      Set the radiusServerScore property: The initial score assigned to this radius server.
      Parameters:
      radiusServerScore - the radiusServerScore value to set.
      Returns:
      the RadiusServer object itself.
    • radiusServerSecret

      public String radiusServerSecret()
      Get the radiusServerSecret property: The secret used for this radius server.
      Returns:
      the radiusServerSecret value.
    • withRadiusServerSecret

      public RadiusServer withRadiusServerSecret(String radiusServerSecret)
      Set the radiusServerSecret property: The secret used for this radius server.
      Parameters:
      radiusServerSecret - the radiusServerSecret value to set.
      Returns:
      the RadiusServer 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<RadiusServer>
      Throws:
      IOException
    • fromJson

      public static RadiusServer fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of RadiusServer from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of RadiusServer if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the RadiusServer.