@Generated(value="software.amazon.awssdk:codegen") public final class PostDialogCodeHookInvocationSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>
Specifies next steps to run after the dialog code hook finishes.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PostDialogCodeHookInvocationSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PostDialogCodeHookInvocationSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ConditionalSpecification |
failureConditional()
A list of 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. |
DialogState |
failureNextStep()
Specifies 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. |
ResponseSpecification |
failureResponse()
Returns the value of the FailureResponse property for this object.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PostDialogCodeHookInvocationSpecification.Builder> |
serializableBuilderClass() |
ConditionalSpecification |
successConditional()
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
|
DialogState |
successNextStep()
Specifics the next step the bot runs after the dialog code hook finishes successfully.
|
ResponseSpecification |
successResponse()
Returns the value of the SuccessResponse property for this object.
|
ConditionalSpecification |
timeoutConditional()
A list of conditional branches to evaluate if the code hook times out.
|
DialogState |
timeoutNextStep()
Specifies the next step that the bot runs when the code hook times out.
|
ResponseSpecification |
timeoutResponse()
Returns the value of the TimeoutResponse property for this object.
|
PostDialogCodeHookInvocationSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseSpecification successResponse()
public final DialogState successNextStep()
Specifics the next step the bot runs after the dialog code hook finishes successfully.
public final ConditionalSpecification successConditional()
A list of conditional branches to evaluate after the dialog code hook finishes successfully.
public final ResponseSpecification failureResponse()
public final DialogState failureNextStep()
Specifies 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.
State field of the Intent object set to Failed.public final ConditionalSpecification failureConditional()
A list of 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.
State field of the Intent object set to Failed.public final ResponseSpecification timeoutResponse()
public final DialogState timeoutNextStep()
Specifies the next step that the bot runs when the code hook times out.
public final ConditionalSpecification timeoutConditional()
A list of conditional branches to evaluate if the code hook times out.
public PostDialogCodeHookInvocationSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PostDialogCodeHookInvocationSpecification.Builder,PostDialogCodeHookInvocationSpecification>public static PostDialogCodeHookInvocationSpecification.Builder builder()
public static Class<? extends PostDialogCodeHookInvocationSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.