Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.lex.inputs.V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs extends com.pulumi.resources.ResourceArgs {
public static final V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs Empty = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs();
/**
* If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
*
*/
@Import(name="slotToElicit")
private @Nullable Output slotToElicit;
/**
* @return If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
*
*/
public Optional> slotToElicit() {
return Optional.ofNullable(this.slotToElicit);
}
/**
* Whether the next message for the intent is _not_ used.
*
*/
@Import(name="suppressNextMessage")
private @Nullable Output suppressNextMessage;
/**
* @return Whether the next message for the intent is _not_ used.
*
*/
public Optional> suppressNextMessage() {
return Optional.ofNullable(this.suppressNextMessage);
}
/**
* Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
*
*/
public Output type() {
return this.type;
}
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs() {}
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $) {
this.slotToElicit = $.slotToElicit;
this.suppressNextMessage = $.suppressNextMessage;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs $;
public Builder() {
$ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs();
}
public Builder(V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs defaults) {
$ = new V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs(Objects.requireNonNull(defaults));
}
/**
* @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
*
* @return builder
*
*/
public Builder slotToElicit(@Nullable Output slotToElicit) {
$.slotToElicit = slotToElicit;
return this;
}
/**
* @param slotToElicit If the dialog action is `ElicitSlot`, defines the slot to elicit from the user.
*
* @return builder
*
*/
public Builder slotToElicit(String slotToElicit) {
return slotToElicit(Output.of(slotToElicit));
}
/**
* @param suppressNextMessage Whether the next message for the intent is _not_ used.
*
* @return builder
*
*/
public Builder suppressNextMessage(@Nullable Output suppressNextMessage) {
$.suppressNextMessage = suppressNextMessage;
return this;
}
/**
* @param suppressNextMessage Whether the next message for the intent is _not_ used.
*
* @return builder
*
*/
public Builder suppressNextMessage(Boolean suppressNextMessage) {
return suppressNextMessage(Output.of(suppressNextMessage));
}
/**
* @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type Action that the bot should execute. Valid values are `ElicitIntent`, `StartIntent`, `ElicitSlot`, `EvaluateConditional`, `InvokeDialogCodeHook`, `ConfirmIntent`, `FulfillIntent`, `CloseIntent`, `EndConversation`.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("V2modelsIntentInitialResponseSettingCodeHookPostCodeHookSpecificationTimeoutConditionalConditionalBranchNextStepDialogActionArgs", "type");
}
return $;
}
}
}