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

package com.azure.resourcemanager.notificationhubs.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Description of a NotificationHub MpnsCredential. */
@Fluent
public final class MpnsCredentialProperties {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(MpnsCredentialProperties.class);

    /*
     * The MPNS certificate.
     */
    @JsonProperty(value = "mpnsCertificate")
    private String mpnsCertificate;

    /*
     * The certificate key for this credential.
     */
    @JsonProperty(value = "certificateKey")
    private String certificateKey;

    /*
     * The MPNS certificate Thumbprint
     */
    @JsonProperty(value = "thumbprint")
    private String thumbprint;

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

    /**
     * Set the mpnsCertificate property: The MPNS certificate.
     *
     * @param mpnsCertificate the mpnsCertificate value to set.
     * @return the MpnsCredentialProperties object itself.
     */
    public MpnsCredentialProperties withMpnsCertificate(String mpnsCertificate) {
        this.mpnsCertificate = mpnsCertificate;
        return this;
    }

    /**
     * Get the certificateKey property: The certificate key for this credential.
     *
     * @return the certificateKey value.
     */
    public String certificateKey() {
        return this.certificateKey;
    }

    /**
     * Set the certificateKey property: The certificate key for this credential.
     *
     * @param certificateKey the certificateKey value to set.
     * @return the MpnsCredentialProperties object itself.
     */
    public MpnsCredentialProperties withCertificateKey(String certificateKey) {
        this.certificateKey = certificateKey;
        return this;
    }

    /**
     * Get the thumbprint property: The MPNS certificate Thumbprint.
     *
     * @return the thumbprint value.
     */
    public String thumbprint() {
        return this.thumbprint;
    }

    /**
     * Set the thumbprint property: The MPNS certificate Thumbprint.
     *
     * @param thumbprint the thumbprint value to set.
     * @return the MpnsCredentialProperties object itself.
     */
    public MpnsCredentialProperties withThumbprint(String thumbprint) {
        this.thumbprint = thumbprint;
        return this;
    }

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