AadAuthenticationParameters Class

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

Implements

public final class AadAuthenticationParameters
implements JsonSerializable<AadAuthenticationParameters>

AAD Vpn authentication type related parameters.

Constructor Summary

Constructor Description
AadAuthenticationParameters()

Creates an instance of AadAuthenticationParameters class.

Method Summary

Modifier and Type Method and Description
String aadAudience()

Get the aadAudience property: AAD Vpn authentication parameter AAD audience.

String aadIssuer()

Get the aadIssuer property: AAD Vpn authentication parameter AAD issuer.

String aadTenant()

Get the aadTenant property: AAD Vpn authentication parameter AAD tenant.

static AadAuthenticationParameters fromJson(JsonReader jsonReader)

Reads an instance of AadAuthenticationParameters from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AadAuthenticationParameters withAadAudience(String aadAudience)

Set the aadAudience property: AAD Vpn authentication parameter AAD audience.

AadAuthenticationParameters withAadIssuer(String aadIssuer)

Set the aadIssuer property: AAD Vpn authentication parameter AAD issuer.

AadAuthenticationParameters withAadTenant(String aadTenant)

Set the aadTenant property: AAD Vpn authentication parameter AAD tenant.

Methods inherited from java.lang.Object

Constructor Details

AadAuthenticationParameters

public AadAuthenticationParameters()

Creates an instance of AadAuthenticationParameters class.

Method Details

aadAudience

public String aadAudience()

Get the aadAudience property: AAD Vpn authentication parameter AAD audience.

Returns:

the aadAudience value.

aadIssuer

public String aadIssuer()

Get the aadIssuer property: AAD Vpn authentication parameter AAD issuer.

Returns:

the aadIssuer value.

aadTenant

public String aadTenant()

Get the aadTenant property: AAD Vpn authentication parameter AAD tenant.

Returns:

the aadTenant value.

fromJson

public static AadAuthenticationParameters fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAadAudience

public AadAuthenticationParameters withAadAudience(String aadAudience)

Set the aadAudience property: AAD Vpn authentication parameter AAD audience.

Parameters:

aadAudience - the aadAudience value to set.

Returns:

the AadAuthenticationParameters object itself.

withAadIssuer

public AadAuthenticationParameters withAadIssuer(String aadIssuer)

Set the aadIssuer property: AAD Vpn authentication parameter AAD issuer.

Parameters:

aadIssuer - the aadIssuer value to set.

Returns:

the AadAuthenticationParameters object itself.

withAadTenant

public AadAuthenticationParameters withAadTenant(String aadTenant)

Set the aadTenant property: AAD Vpn authentication parameter AAD tenant.

Parameters:

aadTenant - the aadTenant value to set.

Returns:

the AadAuthenticationParameters object itself.

Applies to