Condividi tramite


RadiusAuthServer Class

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

Implements

public final class RadiusAuthServer
implements JsonSerializable<RadiusAuthServer>

Gateway or VpnServerConfiguration Radius server with radius secret details.

Constructor Summary

Constructor Description
RadiusAuthServer()

Creates an instance of RadiusAuthServer class.

Method Summary

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

Reads an instance of RadiusAuthServer from the JsonReader.

String radiusServerAddress()

Get the radiusServerAddress property: Radius server IPAddress.

String radiusServerSecret()

Get the radiusServerSecret property: Radius server secret.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

RadiusAuthServer withRadiusServerAddress(String radiusServerAddress)

Set the radiusServerAddress property: Radius server IPAddress.

RadiusAuthServer withRadiusServerSecret(String radiusServerSecret)

Set the radiusServerSecret property: Radius server secret.

Methods inherited from java.lang.Object

Constructor Details

RadiusAuthServer

public RadiusAuthServer()

Creates an instance of RadiusAuthServer class.

Method Details

fromJson

public static RadiusAuthServer fromJson(JsonReader jsonReader)

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.

radiusServerAddress

public String radiusServerAddress()

Get the radiusServerAddress property: Radius server IPAddress.

Returns:

the radiusServerAddress value.

radiusServerSecret

public String radiusServerSecret()

Get the radiusServerSecret property: Radius server secret.

Returns:

the radiusServerSecret value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

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.

Applies to