Class AadAuthenticationParameters
java.lang.Object
com.azure.resourcemanager.network.models.AadAuthenticationParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AadAuthenticationParameters>
public final class AadAuthenticationParameters
extends Object
implements com.azure.json.JsonSerializable<AadAuthenticationParameters>
AAD Vpn authentication type related parameters.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AadAuthenticationParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the aadAudience property: AAD Vpn authentication parameter AAD audience.Get the aadIssuer property: AAD Vpn authentication parameter AAD issuer.Get the aadTenant property: AAD Vpn authentication parameter AAD tenant.static AadAuthenticationParametersfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AadAuthenticationParameters from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAadAudience(String aadAudience) Set the aadAudience property: AAD Vpn authentication parameter AAD audience.withAadIssuer(String aadIssuer) Set the aadIssuer property: AAD Vpn authentication parameter AAD issuer.withAadTenant(String aadTenant) Set the aadTenant property: AAD Vpn authentication parameter AAD tenant.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AadAuthenticationParameters
public AadAuthenticationParameters()Creates an instance of AadAuthenticationParameters class.
-
-
Method Details
-
aadTenant
Get the aadTenant property: AAD Vpn authentication parameter AAD tenant.- Returns:
- the aadTenant value.
-
withAadTenant
Set the aadTenant property: AAD Vpn authentication parameter AAD tenant.- Parameters:
aadTenant- the aadTenant value to set.- Returns:
- the AadAuthenticationParameters object itself.
-
aadAudience
Get the aadAudience property: AAD Vpn authentication parameter AAD audience.- Returns:
- the aadAudience value.
-
withAadAudience
Set the aadAudience property: AAD Vpn authentication parameter AAD audience.- Parameters:
aadAudience- the aadAudience value to set.- Returns:
- the AadAuthenticationParameters object itself.
-
aadIssuer
Get the aadIssuer property: AAD Vpn authentication parameter AAD issuer.- Returns:
- the aadIssuer value.
-
withAadIssuer
Set the aadIssuer property: AAD Vpn authentication parameter AAD issuer.- Parameters:
aadIssuer- the aadIssuer value to set.- Returns:
- the AadAuthenticationParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AadAuthenticationParameters>- Throws:
IOException
-
fromJson
public static AadAuthenticationParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AadAuthenticationParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of AadAuthenticationParameters 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 AadAuthenticationParameters.
-