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

package com.azure.resourcemanager.nginx.models;

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

/** The NginxCertificateProperties model. */
@Fluent
public final class NginxCertificateProperties {
    /*
     * The provisioningState property.
     */
    @JsonProperty(value = "provisioningState", access = JsonProperty.Access.WRITE_ONLY)
    private ProvisioningState provisioningState;

    /*
     * The keyVirtualPath property.
     */
    @JsonProperty(value = "keyVirtualPath")
    private String keyVirtualPath;

    /*
     * The certificateVirtualPath property.
     */
    @JsonProperty(value = "certificateVirtualPath")
    private String certificateVirtualPath;

    /*
     * The keyVaultSecretId property.
     */
    @JsonProperty(value = "keyVaultSecretId")
    private String keyVaultSecretId;

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

    /**
     * Get the provisioningState property: The provisioningState property.
     *
     * @return the provisioningState value.
     */
    public ProvisioningState provisioningState() {
        return this.provisioningState;
    }

    /**
     * Get the keyVirtualPath property: The keyVirtualPath property.
     *
     * @return the keyVirtualPath value.
     */
    public String keyVirtualPath() {
        return this.keyVirtualPath;
    }

    /**
     * Set the keyVirtualPath property: The keyVirtualPath property.
     *
     * @param keyVirtualPath the keyVirtualPath value to set.
     * @return the NginxCertificateProperties object itself.
     */
    public NginxCertificateProperties withKeyVirtualPath(String keyVirtualPath) {
        this.keyVirtualPath = keyVirtualPath;
        return this;
    }

    /**
     * Get the certificateVirtualPath property: The certificateVirtualPath property.
     *
     * @return the certificateVirtualPath value.
     */
    public String certificateVirtualPath() {
        return this.certificateVirtualPath;
    }

    /**
     * Set the certificateVirtualPath property: The certificateVirtualPath property.
     *
     * @param certificateVirtualPath the certificateVirtualPath value to set.
     * @return the NginxCertificateProperties object itself.
     */
    public NginxCertificateProperties withCertificateVirtualPath(String certificateVirtualPath) {
        this.certificateVirtualPath = certificateVirtualPath;
        return this;
    }

    /**
     * Get the keyVaultSecretId property: The keyVaultSecretId property.
     *
     * @return the keyVaultSecretId value.
     */
    public String keyVaultSecretId() {
        return this.keyVaultSecretId;
    }

    /**
     * Set the keyVaultSecretId property: The keyVaultSecretId property.
     *
     * @param keyVaultSecretId the keyVaultSecretId value to set.
     * @return the NginxCertificateProperties object itself.
     */
    public NginxCertificateProperties withKeyVaultSecretId(String keyVaultSecretId) {
        this.keyVaultSecretId = keyVaultSecretId;
        return this;
    }

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