/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.servicefabric;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Certificate details.
 */
public class CertificateDescription {
    /**
     * Thumbprint of the primary certificate.
     */
    @JsonProperty(value = "thumbprint", required = true)
    private String thumbprint;

    /**
     * Thumbprint of the secondary certificate.
     */
    @JsonProperty(value = "thumbprintSecondary")
    private String thumbprintSecondary;

    /**
     * The local certificate store location. Possible values include:
     * 'AddressBook', 'AuthRoot', 'CertificateAuthority', 'Disallowed', 'My',
     * 'Root', 'TrustedPeople', 'TrustedPublisher'.
     */
    @JsonProperty(value = "x509StoreName")
    private String x509StoreName;

    /**
     * Get the thumbprint value.
     *
     * @return the thumbprint value
     */
    public String thumbprint() {
        return this.thumbprint;
    }

    /**
     * Set the thumbprint value.
     *
     * @param thumbprint the thumbprint value to set
     * @return the CertificateDescription object itself.
     */
    public CertificateDescription withThumbprint(String thumbprint) {
        this.thumbprint = thumbprint;
        return this;
    }

    /**
     * Get the thumbprintSecondary value.
     *
     * @return the thumbprintSecondary value
     */
    public String thumbprintSecondary() {
        return this.thumbprintSecondary;
    }

    /**
     * Set the thumbprintSecondary value.
     *
     * @param thumbprintSecondary the thumbprintSecondary value to set
     * @return the CertificateDescription object itself.
     */
    public CertificateDescription withThumbprintSecondary(String thumbprintSecondary) {
        this.thumbprintSecondary = thumbprintSecondary;
        return this;
    }

    /**
     * Get the x509StoreName value.
     *
     * @return the x509StoreName value
     */
    public String x509StoreName() {
        return this.x509StoreName;
    }

    /**
     * Set the x509StoreName value.
     *
     * @param x509StoreName the x509StoreName value to set
     * @return the CertificateDescription object itself.
     */
    public CertificateDescription withX509StoreName(String x509StoreName) {
        this.x509StoreName = x509StoreName;
        return this;
    }

}
