GitHubClientSecret.java

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

package com.azure.analytics.synapse.artifacts.models;

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

/** Client secret information for factory's bring your own app repository configuration. */
@Fluent
public final class GitHubClientSecret {
    /*
     * Bring your own app client secret AKV URL
     */
    @JsonProperty(value = "byoaSecretAkvUrl")
    private String byoaSecretAkvUrl;

    /*
     * Bring your own app client secret name in AKV
     */
    @JsonProperty(value = "byoaSecretName")
    private String byoaSecretName;

    /**
     * Get the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.
     *
     * @return the byoaSecretAkvUrl value.
     */
    public String getByoaSecretAkvUrl() {
        return this.byoaSecretAkvUrl;
    }

    /**
     * Set the byoaSecretAkvUrl property: Bring your own app client secret AKV URL.
     *
     * @param byoaSecretAkvUrl the byoaSecretAkvUrl value to set.
     * @return the GitHubClientSecret object itself.
     */
    public GitHubClientSecret setByoaSecretAkvUrl(String byoaSecretAkvUrl) {
        this.byoaSecretAkvUrl = byoaSecretAkvUrl;
        return this;
    }

    /**
     * Get the byoaSecretName property: Bring your own app client secret name in AKV.
     *
     * @return the byoaSecretName value.
     */
    public String getByoaSecretName() {
        return this.byoaSecretName;
    }

    /**
     * Set the byoaSecretName property: Bring your own app client secret name in AKV.
     *
     * @param byoaSecretName the byoaSecretName value to set.
     * @return the GitHubClientSecret object itself.
     */
    public GitHubClientSecret setByoaSecretName(String byoaSecretName) {
        this.byoaSecretName = byoaSecretName;
        return this;
    }
}