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

com.pulumi.azurenative.appplatform.inputs.SsoPropertiesArgs 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.appplatform.inputs;

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


/**
 * Single sign-on related configuration
 * 
 */
public final class SsoPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SsoPropertiesArgs Empty = new SsoPropertiesArgs();

    /**
     * The public identifier for the application
     * 
     */
    @Import(name="clientId")
    private @Nullable Output clientId;

    /**
     * @return The public identifier for the application
     * 
     */
    public Optional> clientId() {
        return Optional.ofNullable(this.clientId);
    }

    /**
     * The secret known only to the application and the authorization server
     * 
     */
    @Import(name="clientSecret")
    private @Nullable Output clientSecret;

    /**
     * @return The secret known only to the application and the authorization server
     * 
     */
    public Optional> clientSecret() {
        return Optional.ofNullable(this.clientSecret);
    }

    /**
     * The URI of Issuer Identifier
     * 
     */
    @Import(name="issuerUri")
    private @Nullable Output issuerUri;

    /**
     * @return The URI of Issuer Identifier
     * 
     */
    public Optional> issuerUri() {
        return Optional.ofNullable(this.issuerUri);
    }

    /**
     * It defines the specific actions applications can be allowed to do on a user's behalf
     * 
     */
    @Import(name="scope")
    private @Nullable Output> scope;

    /**
     * @return It defines the specific actions applications can be allowed to do on a user's behalf
     * 
     */
    public Optional>> scope() {
        return Optional.ofNullable(this.scope);
    }

    private SsoPropertiesArgs() {}

    private SsoPropertiesArgs(SsoPropertiesArgs $) {
        this.clientId = $.clientId;
        this.clientSecret = $.clientSecret;
        this.issuerUri = $.issuerUri;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private SsoPropertiesArgs $;

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

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

        /**
         * @param clientId The public identifier for the application
         * 
         * @return builder
         * 
         */
        public Builder clientId(@Nullable Output clientId) {
            $.clientId = clientId;
            return this;
        }

        /**
         * @param clientId The public identifier for the application
         * 
         * @return builder
         * 
         */
        public Builder clientId(String clientId) {
            return clientId(Output.of(clientId));
        }

        /**
         * @param clientSecret The secret known only to the application and the authorization server
         * 
         * @return builder
         * 
         */
        public Builder clientSecret(@Nullable Output clientSecret) {
            $.clientSecret = clientSecret;
            return this;
        }

        /**
         * @param clientSecret The secret known only to the application and the authorization server
         * 
         * @return builder
         * 
         */
        public Builder clientSecret(String clientSecret) {
            return clientSecret(Output.of(clientSecret));
        }

        /**
         * @param issuerUri The URI of Issuer Identifier
         * 
         * @return builder
         * 
         */
        public Builder issuerUri(@Nullable Output issuerUri) {
            $.issuerUri = issuerUri;
            return this;
        }

        /**
         * @param issuerUri The URI of Issuer Identifier
         * 
         * @return builder
         * 
         */
        public Builder issuerUri(String issuerUri) {
            return issuerUri(Output.of(issuerUri));
        }

        /**
         * @param scope It defines the specific actions applications can be allowed to do on a user's behalf
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output> scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope It defines the specific actions applications can be allowed to do on a user's behalf
         * 
         * @return builder
         * 
         */
        public Builder scope(List scope) {
            return scope(Output.of(scope));
        }

        /**
         * @param scope It defines the specific actions applications can be allowed to do on a user's behalf
         * 
         * @return builder
         * 
         */
        public Builder scope(String... scope) {
            return scope(List.of(scope));
        }

        public SsoPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy