@Generated(value="software.amazon.awssdk:codegen") public final class PostFulfillmentStatusSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>
Provides a setting that determines whether the post-fulfillment response is sent to the user. For more information, see https://docs.aws. amazon.com/lexv2/latest/dg/streaming-progress.html#progress-complete
| Modifier and Type | Class and Description |
|---|---|
static interface |
PostFulfillmentStatusSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PostFulfillmentStatusSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ConditionalSpecification |
failureConditional()
A list of conditional branches to evaluate after the fulfillment 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 fulfillment 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 PostFulfillmentStatusSpecification.Builder> |
serializableBuilderClass() |
ConditionalSpecification |
successConditional()
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
DialogState |
successNextStep()
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes
successfully.
|
ResponseSpecification |
successResponse()
Returns the value of the SuccessResponse property for this object.
|
ConditionalSpecification |
timeoutConditional()
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
DialogState |
timeoutNextStep()
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
ResponseSpecification |
timeoutResponse()
Returns the value of the TimeoutResponse property for this object.
|
PostFulfillmentStatusSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseSpecification successResponse()
public final ResponseSpecification failureResponse()
public final ResponseSpecification timeoutResponse()
public final DialogState successNextStep()
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
public final ConditionalSpecification successConditional()
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
public final DialogState failureNextStep()
Specifies the next step the bot runs after the fulfillment 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 fulfillment 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 DialogState timeoutNextStep()
Specifies the next step that the bot runs when the fulfillment code hook times out.
public final ConditionalSpecification timeoutConditional()
A list of conditional branches to evaluate if the fulfillment code hook times out.
public PostFulfillmentStatusSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PostFulfillmentStatusSpecification.Builder,PostFulfillmentStatusSpecification>public static PostFulfillmentStatusSpecification.Builder builder()
public static Class<? extends PostFulfillmentStatusSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.