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

com.pulumi.okta.inputs.UserSchemaPropertyArrayOneOfArgs 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 com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


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

    public static final UserSchemaPropertyArrayOneOfArgs Empty = new UserSchemaPropertyArrayOneOfArgs();

    /**
     * Value mapping to member of `array_enum`
     * 
     */
    @Import(name="const", required=true)
    private Output const_;

    /**
     * @return Value mapping to member of `array_enum`
     * 
     */
    public Output const_() {
        return this.const_;
    }

    /**
     * Display name for the enum value.
     * 
     */
    @Import(name="title", required=true)
    private Output title;

    /**
     * @return Display name for the enum value.
     * 
     */
    public Output title() {
        return this.title;
    }

    private UserSchemaPropertyArrayOneOfArgs() {}

    private UserSchemaPropertyArrayOneOfArgs(UserSchemaPropertyArrayOneOfArgs $) {
        this.const_ = $.const_;
        this.title = $.title;
    }

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

    public static final class Builder {
        private UserSchemaPropertyArrayOneOfArgs $;

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

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

        /**
         * @param const_ Value mapping to member of `array_enum`
         * 
         * @return builder
         * 
         */
        public Builder const_(Output const_) {
            $.const_ = const_;
            return this;
        }

        /**
         * @param const_ Value mapping to member of `array_enum`
         * 
         * @return builder
         * 
         */
        public Builder const_(String const_) {
            return const_(Output.of(const_));
        }

        /**
         * @param title Display name for the enum value.
         * 
         * @return builder
         * 
         */
        public Builder title(Output title) {
            $.title = title;
            return this;
        }

        /**
         * @param title Display name for the enum value.
         * 
         * @return builder
         * 
         */
        public Builder title(String title) {
            return title(Output.of(title));
        }

        public UserSchemaPropertyArrayOneOfArgs build() {
            if ($.const_ == null) {
                throw new MissingRequiredPropertyException("UserSchemaPropertyArrayOneOfArgs", "const_");
            }
            if ($.title == null) {
                throw new MissingRequiredPropertyException("UserSchemaPropertyArrayOneOfArgs", "title");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy