All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datafactory.inputs.GitHubClientSecret Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.datafactory.inputs;

import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Client secret information for factory's bring your own app repository configuration.
 * 
 */
public final class GitHubClientSecret extends com.pulumi.resources.InvokeArgs {

    public static final GitHubClientSecret Empty = new GitHubClientSecret();

    /**
     * Bring your own app client secret AKV URL.
     * 
     */
    @Import(name="byoaSecretAkvUrl")
    private @Nullable String byoaSecretAkvUrl;

    /**
     * @return Bring your own app client secret AKV URL.
     * 
     */
    public Optional byoaSecretAkvUrl() {
        return Optional.ofNullable(this.byoaSecretAkvUrl);
    }

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

    /**
     * @return Bring your own app client secret name in AKV.
     * 
     */
    public Optional byoaSecretName() {
        return Optional.ofNullable(this.byoaSecretName);
    }

    private GitHubClientSecret() {}

    private GitHubClientSecret(GitHubClientSecret $) {
        this.byoaSecretAkvUrl = $.byoaSecretAkvUrl;
        this.byoaSecretName = $.byoaSecretName;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(GitHubClientSecret defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private GitHubClientSecret $;

        public Builder() {
            $ = new GitHubClientSecret();
        }

        public Builder(GitHubClientSecret defaults) {
            $ = new GitHubClientSecret(Objects.requireNonNull(defaults));
        }

        /**
         * @param byoaSecretAkvUrl Bring your own app client secret AKV URL.
         * 
         * @return builder
         * 
         */
        public Builder byoaSecretAkvUrl(@Nullable String byoaSecretAkvUrl) {
            $.byoaSecretAkvUrl = byoaSecretAkvUrl;
            return this;
        }

        /**
         * @param byoaSecretName Bring your own app client secret name in AKV.
         * 
         * @return builder
         * 
         */
        public Builder byoaSecretName(@Nullable String byoaSecretName) {
            $.byoaSecretName = byoaSecretName;
            return this;
        }

        public GitHubClientSecret build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy