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

com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs 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.aws.lex.inputs;

import com.pulumi.aws.lex.inputs.V2modelsSlotValueElicitationSettingDefaultValueSpecificationDefaultValueListArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs Empty = new V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs();

    /**
     * List of default values.
     * Amazon Lex chooses the default value to use in the order that they are presented in the list.
     * See the `default_value_list` argument reference below.
     * 
     */
    @Import(name="defaultValueLists")
    private @Nullable Output> defaultValueLists;

    /**
     * @return List of default values.
     * Amazon Lex chooses the default value to use in the order that they are presented in the list.
     * See the `default_value_list` argument reference below.
     * 
     */
    public Optional>> defaultValueLists() {
        return Optional.ofNullable(this.defaultValueLists);
    }

    private V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs() {}

    private V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs(V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs $) {
        this.defaultValueLists = $.defaultValueLists;
    }

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

    public static final class Builder {
        private V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs $;

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

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

        /**
         * @param defaultValueLists List of default values.
         * Amazon Lex chooses the default value to use in the order that they are presented in the list.
         * See the `default_value_list` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder defaultValueLists(@Nullable Output> defaultValueLists) {
            $.defaultValueLists = defaultValueLists;
            return this;
        }

        /**
         * @param defaultValueLists List of default values.
         * Amazon Lex chooses the default value to use in the order that they are presented in the list.
         * See the `default_value_list` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder defaultValueLists(List defaultValueLists) {
            return defaultValueLists(Output.of(defaultValueLists));
        }

        /**
         * @param defaultValueLists List of default values.
         * Amazon Lex chooses the default value to use in the order that they are presented in the list.
         * See the `default_value_list` argument reference below.
         * 
         * @return builder
         * 
         */
        public Builder defaultValueLists(V2modelsSlotValueElicitationSettingDefaultValueSpecificationDefaultValueListArgs... defaultValueLists) {
            return defaultValueLists(List.of(defaultValueLists));
        }

        public V2modelsSlotValueElicitationSettingDefaultValueSpecificationArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy