WebPubSubTlsSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.webpubsub.models.WebPubSubTlsSettings

Implements

public final class WebPubSubTlsSettings
implements JsonSerializable<WebPubSubTlsSettings>

TLS settings for the resource.

Constructor Summary

Constructor Description
WebPubSubTlsSettings()

Creates an instance of WebPubSubTlsSettings class.

Method Summary

Modifier and Type Method and Description
Boolean clientCertEnabled()

Get the clientCertEnabled property: Request client certificate during TLS handshake if enabled.

static WebPubSubTlsSettings fromJson(JsonReader jsonReader)

Reads an instance of WebPubSubTlsSettings from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

WebPubSubTlsSettings withClientCertEnabled(Boolean clientCertEnabled)

Set the clientCertEnabled property: Request client certificate during TLS handshake if enabled.

Methods inherited from java.lang.Object

Constructor Details

WebPubSubTlsSettings

public WebPubSubTlsSettings()

Creates an instance of WebPubSubTlsSettings class.

Method Details

clientCertEnabled

public Boolean clientCertEnabled()

Get the clientCertEnabled property: Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier.

Returns:

the clientCertEnabled value.

fromJson

public static WebPubSubTlsSettings fromJson(JsonReader jsonReader)

Reads an instance of WebPubSubTlsSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of WebPubSubTlsSettings 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 WebPubSubTlsSettings.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withClientCertEnabled

public WebPubSubTlsSettings withClientCertEnabled(Boolean clientCertEnabled)

Set the clientCertEnabled property: Request client certificate during TLS handshake if enabled. Not supported for free tier. Any input will be ignored for free tier.

Parameters:

clientCertEnabled - the clientCertEnabled value to set.

Returns:

the WebPubSubTlsSettings object itself.

Applies to