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 Details

    • AadAuthenticationParameters

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

    • aadTenant

      public String aadTenant()
      Get the aadTenant property: AAD Vpn authentication parameter AAD tenant.
      Returns:
      the aadTenant value.
    • 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.
    • aadAudience

      public String aadAudience()
      Get the aadAudience property: AAD Vpn authentication parameter AAD audience.
      Returns:
      the aadAudience value.
    • 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.
    • aadIssuer

      public String aadIssuer()
      Get the aadIssuer property: AAD Vpn authentication parameter AAD issuer.
      Returns:
      the aadIssuer value.
    • 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.
    • 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<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.