RadiusServer Class

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

Implements

public final class RadiusServer
implements JsonSerializable<RadiusServer>

Radius Server Settings.

Constructor Summary

Constructor Description
RadiusServer()

Creates an instance of RadiusServer class.

Method Summary

Modifier and Type Method and Description
static RadiusServer fromJson(JsonReader jsonReader)

Reads an instance of RadiusServer from the JsonReader.

String radiusServerAddress()

Get the radiusServerAddress property: The address of this radius server.

Long radiusServerScore()

Get the radiusServerScore property: The initial score assigned to this radius server.

String radiusServerSecret()

Get the radiusServerSecret property: The secret used for this radius server.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RadiusServer withRadiusServerAddress(String radiusServerAddress)

Set the radiusServerAddress property: The address of this radius server.

RadiusServer withRadiusServerScore(Long radiusServerScore)

Set the radiusServerScore property: The initial score assigned to this radius server.

RadiusServer withRadiusServerSecret(String radiusServerSecret)

Set the radiusServerSecret property: The secret used for this radius server.

Methods inherited from java.lang.Object

Constructor Details

RadiusServer

public RadiusServer()

Creates an instance of RadiusServer class.

Method Details

fromJson

public static RadiusServer fromJson(JsonReader jsonReader)

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:

IOException

- If the deserialized JSON object was missing any required properties.

radiusServerAddress

public String radiusServerAddress()

Get the radiusServerAddress property: The address of this radius server.

Returns:

the radiusServerAddress value.

radiusServerScore

public Long radiusServerScore()

Get the radiusServerScore property: The initial score assigned to this radius server.

Returns:

the radiusServerScore value.

radiusServerSecret

public String radiusServerSecret()

Get the radiusServerSecret property: The secret used for this radius server.

Returns:

the radiusServerSecret value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

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.

Applies to