// 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 BaiduCredential. */
@Fluent
public final class BaiduCredentialProperties {
    @JsonIgnore private final ClientLogger logger = new ClientLogger(BaiduCredentialProperties.class);

    /*
     * Baidu Api Key.
     */
    @JsonProperty(value = "baiduApiKey")
    private String baiduApiKey;

    /*
     * Baidu Endpoint.
     */
    @JsonProperty(value = "baiduEndPoint")
    private String baiduEndPoint;

    /*
     * Baidu Secret Key
     */
    @JsonProperty(value = "baiduSecretKey")
    private String baiduSecretKey;

    /**
     * Get the baiduApiKey property: Baidu Api Key.
     *
     * @return the baiduApiKey value.
     */
    public String baiduApiKey() {
        return this.baiduApiKey;
    }

    /**
     * Set the baiduApiKey property: Baidu Api Key.
     *
     * @param baiduApiKey the baiduApiKey value to set.
     * @return the BaiduCredentialProperties object itself.
     */
    public BaiduCredentialProperties withBaiduApiKey(String baiduApiKey) {
        this.baiduApiKey = baiduApiKey;
        return this;
    }

    /**
     * Get the baiduEndPoint property: Baidu Endpoint.
     *
     * @return the baiduEndPoint value.
     */
    public String baiduEndPoint() {
        return this.baiduEndPoint;
    }

    /**
     * Set the baiduEndPoint property: Baidu Endpoint.
     *
     * @param baiduEndPoint the baiduEndPoint value to set.
     * @return the BaiduCredentialProperties object itself.
     */
    public BaiduCredentialProperties withBaiduEndPoint(String baiduEndPoint) {
        this.baiduEndPoint = baiduEndPoint;
        return this;
    }

    /**
     * Get the baiduSecretKey property: Baidu Secret Key.
     *
     * @return the baiduSecretKey value.
     */
    public String baiduSecretKey() {
        return this.baiduSecretKey;
    }

    /**
     * Set the baiduSecretKey property: Baidu Secret Key.
     *
     * @param baiduSecretKey the baiduSecretKey value to set.
     * @return the BaiduCredentialProperties object itself.
     */
    public BaiduCredentialProperties withBaiduSecretKey(String baiduSecretKey) {
        this.baiduSecretKey = baiduSecretKey;
        return this;
    }

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