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 Summary
ConstructorsConstructorDescriptionCreates an instance of GatewayPropertiesClientAuth class. -
Method Summary
Modifier and TypeMethodDescriptionGet the certificates property: Collection of certificate resource Ids in Azure Spring Apps.Get the certificateVerification property: Whether to enable certificate verification or not.static GatewayPropertiesClientAuthfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of GatewayPropertiesClientAuth from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withCertificates(List<String> certificates) Set the certificates property: Collection of certificate resource Ids in Azure Spring Apps.withCertificateVerification(GatewayCertificateVerification certificateVerification) Set the certificateVerification property: Whether to enable certificate verification or not.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
-
GatewayPropertiesClientAuth
public GatewayPropertiesClientAuth()Creates an instance of GatewayPropertiesClientAuth class.
-
-
Method Details
-
certificates
Get the certificates property: Collection of certificate resource Ids in Azure Spring Apps.- Returns:
- the certificates value.
-
withCertificates
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
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
- Specified by:
toJsonin interfacecom.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.
-