다음을 통해 공유


GatewayPropertiesClientAuth Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.GatewayPropertiesClientAuth

Implements

public final class GatewayPropertiesClientAuth
implements JsonSerializable<GatewayPropertiesClientAuth>

Client-Certification Authentication.

Constructor Summary

Constructor Description
GatewayPropertiesClientAuth()

Creates an instance of GatewayPropertiesClientAuth class.

Method Summary

Modifier and Type Method and Description
GatewayCertificateVerification certificateVerification()

Get the certificateVerification property: Whether to enable certificate verification or not.

List<String> certificates()

Get the certificates property: Collection of certificate resource Ids in Azure Spring Apps.

static GatewayPropertiesClientAuth fromJson(JsonReader jsonReader)

Reads an instance of GatewayPropertiesClientAuth from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayPropertiesClientAuth withCertificateVerification(GatewayCertificateVerification certificateVerification)

Set the certificateVerification property: Whether to enable certificate verification or not.

GatewayPropertiesClientAuth withCertificates(List<String> certificates)

Set the certificates property: Collection of certificate resource Ids in Azure Spring Apps.

Methods inherited from java.lang.Object

Constructor Details

GatewayPropertiesClientAuth

public GatewayPropertiesClientAuth()

Creates an instance of GatewayPropertiesClientAuth class.

Method Details

certificateVerification

public GatewayCertificateVerification certificateVerification()

Get the certificateVerification property: Whether to enable certificate verification or not.

Returns:

the certificateVerification value.

certificates

public List certificates()

Get the certificates property: Collection of certificate resource Ids in Azure Spring Apps.

Returns:

the certificates value.

fromJson

public static GatewayPropertiesClientAuth fromJson(JsonReader jsonReader)

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

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.

withCertificates

public GatewayPropertiesClientAuth withCertificates(List 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.

Applies to