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

com.pulumi.okta.auth.inputs.ServerScopeState Maven / Gradle / Ivy

There is a newer version: 4.13.0-alpha.1732774005
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.okta.auth.inputs;

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


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

    public static final ServerScopeState Empty = new ServerScopeState();

    /**
     * Auth server ID
     * 
     */
    @Import(name="authServerId")
    private @Nullable Output authServerId;

    /**
     * @return Auth server ID
     * 
     */
    public Optional> authServerId() {
        return Optional.ofNullable(this.authServerId);
    }

    /**
     * Indicates whether a consent dialog is needed for the scope. It can be set to `REQUIRED` or `IMPLICIT`. Default: `IMPLICIT`
     * 
     */
    @Import(name="consent")
    private @Nullable Output consent;

    /**
     * @return Indicates whether a consent dialog is needed for the scope. It can be set to `REQUIRED` or `IMPLICIT`. Default: `IMPLICIT`
     * 
     */
    public Optional> consent() {
        return Optional.ofNullable(this.consent);
    }

    /**
     * A default scope will be returned in an access token when the client omits the scope parameter in a token request, provided this scope is allowed as part of the access policy rule.
     * 
     */
    @Import(name="default")
    private @Nullable Output default_;

    /**
     * @return A default scope will be returned in an access token when the client omits the scope parameter in a token request, provided this scope is allowed as part of the access policy rule.
     * 
     */
    public Optional> default_() {
        return Optional.ofNullable(this.default_);
    }

    /**
     * Description of the Auth Server Scope.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Description of the Auth Server Scope.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Name of the end user displayed in a consent dialog box
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

    /**
     * @return Name of the end user displayed in a consent dialog box
     * 
     */
    public Optional> displayName() {
        return Optional.ofNullable(this.displayName);
    }

    /**
     * Whether to publish metadata or not. It can be set to `ALL_CLIENTS` or `NO_CLIENTS`. Default: `ALL_CLIENTS`
     * 
     */
    @Import(name="metadataPublish")
    private @Nullable Output metadataPublish;

    /**
     * @return Whether to publish metadata or not. It can be set to `ALL_CLIENTS` or `NO_CLIENTS`. Default: `ALL_CLIENTS`
     * 
     */
    public Optional> metadataPublish() {
        return Optional.ofNullable(this.metadataPublish);
    }

    /**
     * Auth server scope name
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Auth server scope name
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Whether the scope optional
     * 
     */
    @Import(name="optional")
    private @Nullable Output optional;

    /**
     * @return Whether the scope optional
     * 
     */
    public Optional> optional() {
        return Optional.ofNullable(this.optional);
    }

    /**
     * Whether Okta created the Scope
     * 
     */
    @Import(name="system")
    private @Nullable Output system;

    /**
     * @return Whether Okta created the Scope
     * 
     */
    public Optional> system() {
        return Optional.ofNullable(this.system);
    }

    private ServerScopeState() {}

    private ServerScopeState(ServerScopeState $) {
        this.authServerId = $.authServerId;
        this.consent = $.consent;
        this.default_ = $.default_;
        this.description = $.description;
        this.displayName = $.displayName;
        this.metadataPublish = $.metadataPublish;
        this.name = $.name;
        this.optional = $.optional;
        this.system = $.system;
    }

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

    public static final class Builder {
        private ServerScopeState $;

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

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

        /**
         * @param authServerId Auth server ID
         * 
         * @return builder
         * 
         */
        public Builder authServerId(@Nullable Output authServerId) {
            $.authServerId = authServerId;
            return this;
        }

        /**
         * @param authServerId Auth server ID
         * 
         * @return builder
         * 
         */
        public Builder authServerId(String authServerId) {
            return authServerId(Output.of(authServerId));
        }

        /**
         * @param consent Indicates whether a consent dialog is needed for the scope. It can be set to `REQUIRED` or `IMPLICIT`. Default: `IMPLICIT`
         * 
         * @return builder
         * 
         */
        public Builder consent(@Nullable Output consent) {
            $.consent = consent;
            return this;
        }

        /**
         * @param consent Indicates whether a consent dialog is needed for the scope. It can be set to `REQUIRED` or `IMPLICIT`. Default: `IMPLICIT`
         * 
         * @return builder
         * 
         */
        public Builder consent(String consent) {
            return consent(Output.of(consent));
        }

        /**
         * @param default_ A default scope will be returned in an access token when the client omits the scope parameter in a token request, provided this scope is allowed as part of the access policy rule.
         * 
         * @return builder
         * 
         */
        public Builder default_(@Nullable Output default_) {
            $.default_ = default_;
            return this;
        }

        /**
         * @param default_ A default scope will be returned in an access token when the client omits the scope parameter in a token request, provided this scope is allowed as part of the access policy rule.
         * 
         * @return builder
         * 
         */
        public Builder default_(Boolean default_) {
            return default_(Output.of(default_));
        }

        /**
         * @param description Description of the Auth Server Scope.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Description of the Auth Server Scope.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param displayName Name of the end user displayed in a consent dialog box
         * 
         * @return builder
         * 
         */
        public Builder displayName(@Nullable Output displayName) {
            $.displayName = displayName;
            return this;
        }

        /**
         * @param displayName Name of the end user displayed in a consent dialog box
         * 
         * @return builder
         * 
         */
        public Builder displayName(String displayName) {
            return displayName(Output.of(displayName));
        }

        /**
         * @param metadataPublish Whether to publish metadata or not. It can be set to `ALL_CLIENTS` or `NO_CLIENTS`. Default: `ALL_CLIENTS`
         * 
         * @return builder
         * 
         */
        public Builder metadataPublish(@Nullable Output metadataPublish) {
            $.metadataPublish = metadataPublish;
            return this;
        }

        /**
         * @param metadataPublish Whether to publish metadata or not. It can be set to `ALL_CLIENTS` or `NO_CLIENTS`. Default: `ALL_CLIENTS`
         * 
         * @return builder
         * 
         */
        public Builder metadataPublish(String metadataPublish) {
            return metadataPublish(Output.of(metadataPublish));
        }

        /**
         * @param name Auth server scope name
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Auth server scope name
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param optional Whether the scope optional
         * 
         * @return builder
         * 
         */
        public Builder optional(@Nullable Output optional) {
            $.optional = optional;
            return this;
        }

        /**
         * @param optional Whether the scope optional
         * 
         * @return builder
         * 
         */
        public Builder optional(Boolean optional) {
            return optional(Output.of(optional));
        }

        /**
         * @param system Whether Okta created the Scope
         * 
         * @return builder
         * 
         */
        public Builder system(@Nullable Output system) {
            $.system = system;
            return this;
        }

        /**
         * @param system Whether Okta created the Scope
         * 
         * @return builder
         * 
         */
        public Builder system(Boolean system) {
            return system(Output.of(system));
        }

        public ServerScopeState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy