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

com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecification Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.lex.outputs;

import com.pulumi.aws.lex.outputs.V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSetting;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class V2modelsSlotSubSlotSettingSlotSpecification {
    private String mapBlockKey;
    /**
     * @return Unique identifier assigned to the slot type.
     * 
     */
    private String slotTypeId;
    /**
     * @return Elicitation setting details for constituent sub slots of a composite slot.
     * See the `value_elicitation_setting` argument reference below.
     * 
     */
    private @Nullable List valueElicitationSettings;

    private V2modelsSlotSubSlotSettingSlotSpecification() {}
    public String mapBlockKey() {
        return this.mapBlockKey;
    }
    /**
     * @return Unique identifier assigned to the slot type.
     * 
     */
    public String slotTypeId() {
        return this.slotTypeId;
    }
    /**
     * @return Elicitation setting details for constituent sub slots of a composite slot.
     * See the `value_elicitation_setting` argument reference below.
     * 
     */
    public List valueElicitationSettings() {
        return this.valueElicitationSettings == null ? List.of() : this.valueElicitationSettings;
    }

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

    public static Builder builder(V2modelsSlotSubSlotSettingSlotSpecification defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String mapBlockKey;
        private String slotTypeId;
        private @Nullable List valueElicitationSettings;
        public Builder() {}
        public Builder(V2modelsSlotSubSlotSettingSlotSpecification defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.mapBlockKey = defaults.mapBlockKey;
    	      this.slotTypeId = defaults.slotTypeId;
    	      this.valueElicitationSettings = defaults.valueElicitationSettings;
        }

        @CustomType.Setter
        public Builder mapBlockKey(String mapBlockKey) {
            if (mapBlockKey == null) {
              throw new MissingRequiredPropertyException("V2modelsSlotSubSlotSettingSlotSpecification", "mapBlockKey");
            }
            this.mapBlockKey = mapBlockKey;
            return this;
        }
        @CustomType.Setter
        public Builder slotTypeId(String slotTypeId) {
            if (slotTypeId == null) {
              throw new MissingRequiredPropertyException("V2modelsSlotSubSlotSettingSlotSpecification", "slotTypeId");
            }
            this.slotTypeId = slotTypeId;
            return this;
        }
        @CustomType.Setter
        public Builder valueElicitationSettings(@Nullable List valueElicitationSettings) {

            this.valueElicitationSettings = valueElicitationSettings;
            return this;
        }
        public Builder valueElicitationSettings(V2modelsSlotSubSlotSettingSlotSpecificationValueElicitationSetting... valueElicitationSettings) {
            return valueElicitationSettings(List.of(valueElicitationSettings));
        }
        public V2modelsSlotSubSlotSettingSlotSpecification build() {
            final var _resultValue = new V2modelsSlotSubSlotSettingSlotSpecification();
            _resultValue.mapBlockKey = mapBlockKey;
            _resultValue.slotTypeId = slotTypeId;
            _resultValue.valueElicitationSettings = valueElicitationSettings;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy