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

com.pulumi.aws.lex.outputs.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent 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.V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlot;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent {
    /**
     * @return Name of the intent.
     * 
     */
    private @Nullable String name;
    /**
     * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.
     * 
     */
    private @Nullable List slots;

    private V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent() {}
    /**
     * @return Name of the intent.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }
    /**
     * @return Configuration block for all of the slot value overrides for the intent. The name of the slot maps to the value of the slot. Slots that are not included in the map aren't overridden. See `slot`.
     * 
     */
    public List slots() {
        return this.slots == null ? List.of() : this.slots;
    }

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

    public static Builder builder(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String name;
        private @Nullable List slots;
        public Builder() {}
        public Builder(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.name = defaults.name;
    	      this.slots = defaults.slots;
        }

        @CustomType.Setter
        public Builder name(@Nullable String name) {

            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder slots(@Nullable List slots) {

            this.slots = slots;
            return this;
        }
        public Builder slots(V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntentSlot... slots) {
            return slots(List.of(slots));
        }
        public V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent build() {
            final var _resultValue = new V2modelsIntentInitialResponseSettingConditionalDefaultBranchNextStepIntent();
            _resultValue.name = name;
            _resultValue.slots = slots;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy