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

com.pulumi.azurenative.devhub.outputs.GitHubWorkflowProfileResponseOidcCredentials Maven / Gradle / Ivy

The 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.outputs;

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

@CustomType
public final class GitHubWorkflowProfileResponseOidcCredentials {
    /**
     * @return Azure Application Client ID
     * 
     */
    private @Nullable String azureClientId;
    /**
     * @return Azure Directory (tenant) ID
     * 
     */
    private @Nullable String azureTenantId;

    private GitHubWorkflowProfileResponseOidcCredentials() {}
    /**
     * @return Azure Application Client ID
     * 
     */
    public Optional azureClientId() {
        return Optional.ofNullable(this.azureClientId);
    }
    /**
     * @return Azure Directory (tenant) ID
     * 
     */
    public Optional azureTenantId() {
        return Optional.ofNullable(this.azureTenantId);
    }

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

    public static Builder builder(GitHubWorkflowProfileResponseOidcCredentials defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String azureClientId;
        private @Nullable String azureTenantId;
        public Builder() {}
        public Builder(GitHubWorkflowProfileResponseOidcCredentials defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.azureClientId = defaults.azureClientId;
    	      this.azureTenantId = defaults.azureTenantId;
        }

        @CustomType.Setter
        public Builder azureClientId(@Nullable String azureClientId) {

            this.azureClientId = azureClientId;
            return this;
        }
        @CustomType.Setter
        public Builder azureTenantId(@Nullable String azureTenantId) {

            this.azureTenantId = azureTenantId;
            return this;
        }
        public GitHubWorkflowProfileResponseOidcCredentials build() {
            final var _resultValue = new GitHubWorkflowProfileResponseOidcCredentials();
            _resultValue.azureClientId = azureClientId;
            _resultValue.azureTenantId = azureTenantId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy