Class GatewayPropertiesClientAuth

java.lang.Object
com.azure.resourcemanager.appplatform.models.GatewayPropertiesClientAuth
All Implemented Interfaces:
com.azure.json.JsonSerializable<GatewayPropertiesClientAuth>

public final class GatewayPropertiesClientAuth extends Object implements com.azure.json.JsonSerializable<GatewayPropertiesClientAuth>
Client-Certification Authentication.
  • Constructor Details

    • GatewayPropertiesClientAuth

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

    • certificates

      public List<String> certificates()
      Get the certificates property: Collection of certificate resource Ids in Azure Spring Apps.
      Returns:
      the certificates value.
    • withCertificates

      public GatewayPropertiesClientAuth withCertificates(List<String> certificates)
      Set the certificates property: Collection of certificate resource Ids in Azure Spring Apps.
      Parameters:
      certificates - the certificates value to set.
      Returns:
      the GatewayPropertiesClientAuth object itself.
    • certificateVerification

      public GatewayCertificateVerification certificateVerification()
      Get the certificateVerification property: Whether to enable certificate verification or not.
      Returns:
      the certificateVerification value.
    • withCertificateVerification

      public GatewayPropertiesClientAuth withCertificateVerification(GatewayCertificateVerification certificateVerification)
      Set the certificateVerification property: Whether to enable certificate verification or not.
      Parameters:
      certificateVerification - the certificateVerification value to set.
      Returns:
      the GatewayPropertiesClientAuth 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<GatewayPropertiesClientAuth>
      Throws:
      IOException
    • fromJson

      public static GatewayPropertiesClientAuth fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GatewayPropertiesClientAuth from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GatewayPropertiesClientAuth 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 GatewayPropertiesClientAuth.