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

com.pulumi.azurenative.app.inputs.OpenIdConnectConfigArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.app.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 configuration settings of the endpoints used for the custom Open ID Connect provider.
 * 
 */
public final class OpenIdConnectConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final OpenIdConnectConfigArgs Empty = new OpenIdConnectConfigArgs();

    /**
     * The endpoint to be used to make an authorization request.
     * 
     */
    @Import(name="authorizationEndpoint")
    private @Nullable Output authorizationEndpoint;

    /**
     * @return The endpoint to be used to make an authorization request.
     * 
     */
    public Optional> authorizationEndpoint() {
        return Optional.ofNullable(this.authorizationEndpoint);
    }

    /**
     * The endpoint that provides the keys necessary to validate the token.
     * 
     */
    @Import(name="certificationUri")
    private @Nullable Output certificationUri;

    /**
     * @return The endpoint that provides the keys necessary to validate the token.
     * 
     */
    public Optional> certificationUri() {
        return Optional.ofNullable(this.certificationUri);
    }

    /**
     * The endpoint that issues the token.
     * 
     */
    @Import(name="issuer")
    private @Nullable Output issuer;

    /**
     * @return The endpoint that issues the token.
     * 
     */
    public Optional> issuer() {
        return Optional.ofNullable(this.issuer);
    }

    /**
     * The endpoint to be used to request a token.
     * 
     */
    @Import(name="tokenEndpoint")
    private @Nullable Output tokenEndpoint;

    /**
     * @return The endpoint to be used to request a token.
     * 
     */
    public Optional> tokenEndpoint() {
        return Optional.ofNullable(this.tokenEndpoint);
    }

    /**
     * The endpoint that contains all the configuration endpoints for the provider.
     * 
     */
    @Import(name="wellKnownOpenIdConfiguration")
    private @Nullable Output wellKnownOpenIdConfiguration;

    /**
     * @return The endpoint that contains all the configuration endpoints for the provider.
     * 
     */
    public Optional> wellKnownOpenIdConfiguration() {
        return Optional.ofNullable(this.wellKnownOpenIdConfiguration);
    }

    private OpenIdConnectConfigArgs() {}

    private OpenIdConnectConfigArgs(OpenIdConnectConfigArgs $) {
        this.authorizationEndpoint = $.authorizationEndpoint;
        this.certificationUri = $.certificationUri;
        this.issuer = $.issuer;
        this.tokenEndpoint = $.tokenEndpoint;
        this.wellKnownOpenIdConfiguration = $.wellKnownOpenIdConfiguration;
    }

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

    public static final class Builder {
        private OpenIdConnectConfigArgs $;

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

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

        /**
         * @param authorizationEndpoint The endpoint to be used to make an authorization request.
         * 
         * @return builder
         * 
         */
        public Builder authorizationEndpoint(@Nullable Output authorizationEndpoint) {
            $.authorizationEndpoint = authorizationEndpoint;
            return this;
        }

        /**
         * @param authorizationEndpoint The endpoint to be used to make an authorization request.
         * 
         * @return builder
         * 
         */
        public Builder authorizationEndpoint(String authorizationEndpoint) {
            return authorizationEndpoint(Output.of(authorizationEndpoint));
        }

        /**
         * @param certificationUri The endpoint that provides the keys necessary to validate the token.
         * 
         * @return builder
         * 
         */
        public Builder certificationUri(@Nullable Output certificationUri) {
            $.certificationUri = certificationUri;
            return this;
        }

        /**
         * @param certificationUri The endpoint that provides the keys necessary to validate the token.
         * 
         * @return builder
         * 
         */
        public Builder certificationUri(String certificationUri) {
            return certificationUri(Output.of(certificationUri));
        }

        /**
         * @param issuer The endpoint that issues the token.
         * 
         * @return builder
         * 
         */
        public Builder issuer(@Nullable Output issuer) {
            $.issuer = issuer;
            return this;
        }

        /**
         * @param issuer The endpoint that issues the token.
         * 
         * @return builder
         * 
         */
        public Builder issuer(String issuer) {
            return issuer(Output.of(issuer));
        }

        /**
         * @param tokenEndpoint The endpoint to be used to request a token.
         * 
         * @return builder
         * 
         */
        public Builder tokenEndpoint(@Nullable Output tokenEndpoint) {
            $.tokenEndpoint = tokenEndpoint;
            return this;
        }

        /**
         * @param tokenEndpoint The endpoint to be used to request a token.
         * 
         * @return builder
         * 
         */
        public Builder tokenEndpoint(String tokenEndpoint) {
            return tokenEndpoint(Output.of(tokenEndpoint));
        }

        /**
         * @param wellKnownOpenIdConfiguration The endpoint that contains all the configuration endpoints for the provider.
         * 
         * @return builder
         * 
         */
        public Builder wellKnownOpenIdConfiguration(@Nullable Output wellKnownOpenIdConfiguration) {
            $.wellKnownOpenIdConfiguration = wellKnownOpenIdConfiguration;
            return this;
        }

        /**
         * @param wellKnownOpenIdConfiguration The endpoint that contains all the configuration endpoints for the provider.
         * 
         * @return builder
         * 
         */
        public Builder wellKnownOpenIdConfiguration(String wellKnownOpenIdConfiguration) {
            return wellKnownOpenIdConfiguration(Output.of(wellKnownOpenIdConfiguration));
        }

        public OpenIdConnectConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy