com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification 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.
The 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.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditional;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep;
import com.pulumi.aws.lex.outputs.V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification {
/**
* @return Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditional failureConditional;
/**
* @return Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep failureNextStep;
/**
* @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse failureResponse;
/**
* @return Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional successConditional;
/**
* @return Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep successNextStep;
/**
* @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse successResponse;
/**
* @return Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional timeoutConditional;
/**
* @return Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep timeoutNextStep;
/**
* @return Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
*
*/
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse timeoutResponse;
private V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification() {}
/**
* @return Configuration block for conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.
*
*/
public Optional failureConditional() {
return Optional.ofNullable(this.failureConditional);
}
/**
* @return Configuration block for the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed . See `failure_next_step`.
*
*/
public Optional failureNextStep() {
return Optional.ofNullable(this.failureNextStep);
}
/**
* @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `failure_response`.
*
*/
public Optional failureResponse() {
return Optional.ofNullable(this.failureResponse);
}
/**
* @return Configuration block for conditional branches to evaluate after the dialog code hook finishes successfully. See `success_conditional`.
*
*/
public Optional successConditional() {
return Optional.ofNullable(this.successConditional);
}
/**
* @return Configuration block for the next step the bot runs after the dialog code hook finishes successfully. See `success_next_step`.
*
*/
public Optional successNextStep() {
return Optional.ofNullable(this.successNextStep);
}
/**
* @return Configuration block for message groups that Amazon Lex uses to respond the user input. See `success_response`.
*
*/
public Optional successResponse() {
return Optional.ofNullable(this.successResponse);
}
/**
* @return Configuration block for conditional branches to evaluate if the code hook times out. See `timeout_conditional`.
*
*/
public Optional timeoutConditional() {
return Optional.ofNullable(this.timeoutConditional);
}
/**
* @return Configuration block for the next step that the bot runs when the code hook times out. See `timeout_next_step`.
*
*/
public Optional timeoutNextStep() {
return Optional.ofNullable(this.timeoutNextStep);
}
/**
* @return Configuration block for a list of message groups that Amazon Lex uses to respond the user input. See `timeout_response`.
*
*/
public Optional timeoutResponse() {
return Optional.ofNullable(this.timeoutResponse);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditional failureConditional;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep failureNextStep;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse failureResponse;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional successConditional;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep successNextStep;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse successResponse;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional timeoutConditional;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep timeoutNextStep;
private @Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse timeoutResponse;
public Builder() {}
public Builder(V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification defaults) {
Objects.requireNonNull(defaults);
this.failureConditional = defaults.failureConditional;
this.failureNextStep = defaults.failureNextStep;
this.failureResponse = defaults.failureResponse;
this.successConditional = defaults.successConditional;
this.successNextStep = defaults.successNextStep;
this.successResponse = defaults.successResponse;
this.timeoutConditional = defaults.timeoutConditional;
this.timeoutNextStep = defaults.timeoutNextStep;
this.timeoutResponse = defaults.timeoutResponse;
}
@CustomType.Setter
public Builder failureConditional(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureConditional failureConditional) {
this.failureConditional = failureConditional;
return this;
}
@CustomType.Setter
public Builder failureNextStep(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureNextStep failureNextStep) {
this.failureNextStep = failureNextStep;
return this;
}
@CustomType.Setter
public Builder failureResponse(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationFailureResponse failureResponse) {
this.failureResponse = failureResponse;
return this;
}
@CustomType.Setter
public Builder successConditional(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessConditional successConditional) {
this.successConditional = successConditional;
return this;
}
@CustomType.Setter
public Builder successNextStep(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessNextStep successNextStep) {
this.successNextStep = successNextStep;
return this;
}
@CustomType.Setter
public Builder successResponse(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationSuccessResponse successResponse) {
this.successResponse = successResponse;
return this;
}
@CustomType.Setter
public Builder timeoutConditional(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutConditional timeoutConditional) {
this.timeoutConditional = timeoutConditional;
return this;
}
@CustomType.Setter
public Builder timeoutNextStep(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutNextStep timeoutNextStep) {
this.timeoutNextStep = timeoutNextStep;
return this;
}
@CustomType.Setter
public Builder timeoutResponse(@Nullable V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecificationTimeoutResponse timeoutResponse) {
this.timeoutResponse = timeoutResponse;
return this;
}
public V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification build() {
final var _resultValue = new V2modelsIntentConfirmationSettingCodeHookPostCodeHookSpecification();
_resultValue.failureConditional = failureConditional;
_resultValue.failureNextStep = failureNextStep;
_resultValue.failureResponse = failureResponse;
_resultValue.successConditional = successConditional;
_resultValue.successNextStep = successNextStep;
_resultValue.successResponse = successResponse;
_resultValue.timeoutConditional = timeoutConditional;
_resultValue.timeoutNextStep = timeoutNextStep;
_resultValue.timeoutResponse = timeoutResponse;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy