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

com.pulumi.azurenative.devhub.inputs.GitHubWorkflowProfileOidcCredentialsArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.devhub.inputs;

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


/**
 * The fields needed for OIDC with GitHub.
 * 
 */
public final class GitHubWorkflowProfileOidcCredentialsArgs extends com.pulumi.resources.ResourceArgs {

    public static final GitHubWorkflowProfileOidcCredentialsArgs Empty = new GitHubWorkflowProfileOidcCredentialsArgs();

    /**
     * Azure Application Client ID
     * 
     */
    @Import(name="azureClientId")
    private @Nullable Output azureClientId;

    /**
     * @return Azure Application Client ID
     * 
     */
    public Optional> azureClientId() {
        return Optional.ofNullable(this.azureClientId);
    }

    /**
     * Azure Directory (tenant) ID
     * 
     */
    @Import(name="azureTenantId")
    private @Nullable Output azureTenantId;

    /**
     * @return Azure Directory (tenant) ID
     * 
     */
    public Optional> azureTenantId() {
        return Optional.ofNullable(this.azureTenantId);
    }

    private GitHubWorkflowProfileOidcCredentialsArgs() {}

    private GitHubWorkflowProfileOidcCredentialsArgs(GitHubWorkflowProfileOidcCredentialsArgs $) {
        this.azureClientId = $.azureClientId;
        this.azureTenantId = $.azureTenantId;
    }

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

    public static final class Builder {
        private GitHubWorkflowProfileOidcCredentialsArgs $;

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

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

        /**
         * @param azureClientId Azure Application Client ID
         * 
         * @return builder
         * 
         */
        public Builder azureClientId(@Nullable Output azureClientId) {
            $.azureClientId = azureClientId;
            return this;
        }

        /**
         * @param azureClientId Azure Application Client ID
         * 
         * @return builder
         * 
         */
        public Builder azureClientId(String azureClientId) {
            return azureClientId(Output.of(azureClientId));
        }

        /**
         * @param azureTenantId Azure Directory (tenant) ID
         * 
         * @return builder
         * 
         */
        public Builder azureTenantId(@Nullable Output azureTenantId) {
            $.azureTenantId = azureTenantId;
            return this;
        }

        /**
         * @param azureTenantId Azure Directory (tenant) ID
         * 
         * @return builder
         * 
         */
        public Builder azureTenantId(String azureTenantId) {
            return azureTenantId(Output.of(azureTenantId));
        }

        public GitHubWorkflowProfileOidcCredentialsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy