com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
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.outputs;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent;
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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep {
/**
* @return Configuration block for action that the bot executes at runtime when the conversation reaches this step. See `dialog_action`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction dialogAction;
/**
* @return Configuration block for override settings to configure the intent state. See `intent`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent 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 V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep() {}
/**
* @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(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction dialogAction;
private @Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent intent;
private @Nullable Map sessionAttributes;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep defaults) {
Objects.requireNonNull(defaults);
this.dialogAction = defaults.dialogAction;
this.intent = defaults.intent;
this.sessionAttributes = defaults.sessionAttributes;
}
@CustomType.Setter
public Builder dialogAction(@Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepDialogAction dialogAction) {
this.dialogAction = dialogAction;
return this;
}
@CustomType.Setter
public Builder intent(@Nullable V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStepIntent intent) {
this.intent = intent;
return this;
}
@CustomType.Setter
public Builder sessionAttributes(@Nullable Map sessionAttributes) {
this.sessionAttributes = sessionAttributes;
return this;
}
public V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep build() {
final var _resultValue = new V2modelsIntentConfirmationSettingConfirmationConditionalConditionalBranchNextStep();
_resultValue.dialogAction = dialogAction;
_resultValue.intent = intent;
_resultValue.sessionAttributes = sessionAttributes;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy