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

com.pulumi.azure.appplatform.inputs.SpringCloudGatewaySsoArgs Maven / Gradle / Ivy

// *** 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.azure.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;


public final class SpringCloudGatewaySsoArgs extends com.pulumi.resources.ResourceArgs {

    public static final SpringCloudGatewaySsoArgs Empty = new SpringCloudGatewaySsoArgs();

    /**
     * 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="scopes")
    private @Nullable Output> scopes;

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

    private SpringCloudGatewaySsoArgs() {}

    private SpringCloudGatewaySsoArgs(SpringCloudGatewaySsoArgs $) {
        this.clientId = $.clientId;
        this.clientSecret = $.clientSecret;
        this.issuerUri = $.issuerUri;
        this.scopes = $.scopes;
    }

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

    public static final class Builder {
        private SpringCloudGatewaySsoArgs $;

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

        public Builder(SpringCloudGatewaySsoArgs defaults) {
            $ = new SpringCloudGatewaySsoArgs(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 scopes It defines the specific actions applications can be allowed to do on a user's behalf.
         * 
         * @return builder
         * 
         */
        public Builder scopes(@Nullable Output> scopes) {
            $.scopes = scopes;
            return this;
        }

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

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

        public SpringCloudGatewaySsoArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy