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

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

@CustomType
public final class V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep {
    /**
     * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.
     * 
     */
    private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction dialogAction;
    /**
     * @return Configuration block for override settings to configure the intent state. See `intent`.
     * 
     */
    private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent intent;
    /**
     * @return Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
     * 
     */
    private @Nullable Map sessionAttributes;

    private V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep() {}
    /**
     * @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.
     * 
     */
    public Optional dialogAction() {
        return Optional.ofNullable(this.dialogAction);
    }
    /**
     * @return Configuration block for override settings to configure the intent state. See `intent`.
     * 
     */
    public Optional intent() {
        return Optional.ofNullable(this.intent);
    }
    /**
     * @return Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
     * 
     */
    public Map sessionAttributes() {
        return this.sessionAttributes == null ? Map.of() : this.sessionAttributes;
    }

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

    public static Builder builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction dialogAction;
        private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent intent;
        private @Nullable Map sessionAttributes;
        public Builder() {}
        public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.dialogAction = defaults.dialogAction;
    	      this.intent = defaults.intent;
    	      this.sessionAttributes = defaults.sessionAttributes;
        }

        @CustomType.Setter
        public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepDialogAction dialogAction) {

            this.dialogAction = dialogAction;
            return this;
        }
        @CustomType.Setter
        public Builder intent(@Nullable V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStepIntent intent) {

            this.intent = intent;
            return this;
        }
        @CustomType.Setter
        public Builder sessionAttributes(@Nullable Map sessionAttributes) {

            this.sessionAttributes = sessionAttributes;
            return this;
        }
        public V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep build() {
            final var _resultValue = new V2modelsIntentConfirmationSettingConfirmationConditionalDefaultBranchNextStep();
            _resultValue.dialogAction = dialogAction;
            _resultValue.intent = intent;
            _resultValue.sessionAttributes = sessionAttributes;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy