// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.signalr.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** TLS settings for the resource. */
@Fluent
public final class SignalRTlsSettings {
    /*
     * Request client certificate during TLS handshake if enabled
     */
    @JsonProperty(value = "clientCertEnabled")
    private Boolean clientCertEnabled;

    /** Creates an instance of SignalRTlsSettings class. */
    public SignalRTlsSettings() {
    }

    /**
     * Get the clientCertEnabled property: Request client certificate during TLS handshake if enabled.
     *
     * @return the clientCertEnabled value.
     */
    public Boolean clientCertEnabled() {
        return this.clientCertEnabled;
    }

    /**
     * Set the clientCertEnabled property: Request client certificate during TLS handshake if enabled.
     *
     * @param clientCertEnabled the clientCertEnabled value to set.
     * @return the SignalRTlsSettings object itself.
     */
    public SignalRTlsSettings withClientCertEnabled(Boolean clientCertEnabled) {
        this.clientCertEnabled = clientCertEnabled;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
