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

com.pulumi.okta.inputs.UserBaseSchemaPropertyState 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.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 UserBaseSchemaPropertyState extends com.pulumi.resources.ResourceArgs {

    public static final UserBaseSchemaPropertyState Empty = new UserBaseSchemaPropertyState();

    /**
     * Subschema unique string identifier
     * 
     */
    @Import(name="index")
    private @Nullable Output index;

    /**
     * @return Subschema unique string identifier
     * 
     */
    public Optional> index() {
        return Optional.ofNullable(this.index);
    }

    /**
     * Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
     * 
     */
    @Import(name="master")
    private @Nullable Output master;

    /**
     * @return Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
     * 
     */
    public Optional> master() {
        return Optional.ofNullable(this.master);
    }

    /**
     * The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
     * 
     */
    @Import(name="pattern")
    private @Nullable Output pattern;

    /**
     * @return The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
     * 
     */
    public Optional> pattern() {
        return Optional.ofNullable(this.pattern);
    }

    /**
     * Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
     * 
     */
    @Import(name="permissions")
    private @Nullable Output permissions;

    /**
     * @return Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
     * 
     */
    public Optional> permissions() {
        return Optional.ofNullable(this.permissions);
    }

    /**
     * Whether the subschema is required
     * 
     */
    @Import(name="required")
    private @Nullable Output required;

    /**
     * @return Whether the subschema is required
     * 
     */
    public Optional> required() {
        return Optional.ofNullable(this.required);
    }

    /**
     * Subschema title (display name)
     * 
     */
    @Import(name="title")
    private @Nullable Output title;

    /**
     * @return Subschema title (display name)
     * 
     */
    public Optional> title() {
        return Optional.ofNullable(this.title);
    }

    /**
     * The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * User type ID. By default, it is `default`
     * 
     */
    @Import(name="userType")
    private @Nullable Output userType;

    /**
     * @return User type ID. By default, it is `default`
     * 
     */
    public Optional> userType() {
        return Optional.ofNullable(this.userType);
    }

    private UserBaseSchemaPropertyState() {}

    private UserBaseSchemaPropertyState(UserBaseSchemaPropertyState $) {
        this.index = $.index;
        this.master = $.master;
        this.pattern = $.pattern;
        this.permissions = $.permissions;
        this.required = $.required;
        this.title = $.title;
        this.type = $.type;
        this.userType = $.userType;
    }

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

    public static final class Builder {
        private UserBaseSchemaPropertyState $;

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

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

        /**
         * @param index Subschema unique string identifier
         * 
         * @return builder
         * 
         */
        public Builder index(@Nullable Output index) {
            $.index = index;
            return this;
        }

        /**
         * @param index Subschema unique string identifier
         * 
         * @return builder
         * 
         */
        public Builder index(String index) {
            return index(Output.of(index));
        }

        /**
         * @param master Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
         * 
         * @return builder
         * 
         */
        public Builder master(@Nullable Output master) {
            $.master = master;
            return this;
        }

        /**
         * @param master Master priority for the user schema property. It can be set to `PROFILE_MASTER` or `OKTA`. Default: `PROFILE_MASTER`
         * 
         * @return builder
         * 
         */
        public Builder master(String master) {
            return master(Output.of(master));
        }

        /**
         * @param pattern The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
         * 
         * @return builder
         * 
         */
        public Builder pattern(@Nullable Output pattern) {
            $.pattern = pattern;
            return this;
        }

        /**
         * @param pattern The validation pattern to use for the subschema. Must be in form of '.+', or '[\n\n]+' if present.'
         * 
         * @return builder
         * 
         */
        public Builder pattern(String pattern) {
            return pattern(Output.of(pattern));
        }

        /**
         * @param permissions Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
         * 
         * @return builder
         * 
         */
        public Builder permissions(@Nullable Output permissions) {
            $.permissions = permissions;
            return this;
        }

        /**
         * @param permissions Access control permissions for the property. It can be set to `READ_WRITE`, `READ_ONLY`, `HIDE`. Default: `READ_ONLY`
         * 
         * @return builder
         * 
         */
        public Builder permissions(String permissions) {
            return permissions(Output.of(permissions));
        }

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

        /**
         * @param required Whether the subschema is required
         * 
         * @return builder
         * 
         */
        public Builder required(Boolean required) {
            return required(Output.of(required));
        }

        /**
         * @param title Subschema title (display name)
         * 
         * @return builder
         * 
         */
        public Builder title(@Nullable Output title) {
            $.title = title;
            return this;
        }

        /**
         * @param title Subschema title (display name)
         * 
         * @return builder
         * 
         */
        public Builder title(String title) {
            return title(Output.of(title));
        }

        /**
         * @param type The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The type of the schema property. It can be `string`, `boolean`, `number`, `integer`, `array`, or `object`
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param userType User type ID. By default, it is `default`
         * 
         * @return builder
         * 
         */
        public Builder userType(@Nullable Output userType) {
            $.userType = userType;
            return this;
        }

        /**
         * @param userType User type ID. By default, it is `default`
         * 
         * @return builder
         * 
         */
        public Builder userType(String userType) {
            return userType(Output.of(userType));
        }

        public UserBaseSchemaPropertyState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy