@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PostFulfillmentStatusSpecification extends Object implements Serializable, Cloneable, StructuredPojo
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
Constructor and Description |
---|
PostFulfillmentStatusSpecification() |
Modifier and Type | Method and Description |
---|---|
PostFulfillmentStatusSpecification |
clone() |
boolean |
equals(Object obj) |
ConditionalSpecification |
getFailureConditional()
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 |
getFailureNextStep()
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 |
getFailureResponse() |
ConditionalSpecification |
getSuccessConditional()
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
DialogState |
getSuccessNextStep()
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes
successfully.
|
ResponseSpecification |
getSuccessResponse() |
ConditionalSpecification |
getTimeoutConditional()
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
DialogState |
getTimeoutNextStep()
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
ResponseSpecification |
getTimeoutResponse() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureConditional(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 . |
void |
setFailureNextStep(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 . |
void |
setFailureResponse(ResponseSpecification failureResponse) |
void |
setSuccessConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
void |
setSuccessNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes
successfully.
|
void |
setSuccessResponse(ResponseSpecification successResponse) |
void |
setTimeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
void |
setTimeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
void |
setTimeoutResponse(ResponseSpecification timeoutResponse) |
String |
toString()
Returns a string representation of this object.
|
PostFulfillmentStatusSpecification |
withFailureConditional(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 . |
PostFulfillmentStatusSpecification |
withFailureNextStep(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 . |
PostFulfillmentStatusSpecification |
withFailureResponse(ResponseSpecification failureResponse) |
PostFulfillmentStatusSpecification |
withSuccessConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
|
PostFulfillmentStatusSpecification |
withSuccessNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes
successfully.
|
PostFulfillmentStatusSpecification |
withSuccessResponse(ResponseSpecification successResponse) |
PostFulfillmentStatusSpecification |
withTimeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
|
PostFulfillmentStatusSpecification |
withTimeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
|
PostFulfillmentStatusSpecification |
withTimeoutResponse(ResponseSpecification timeoutResponse) |
public void setSuccessResponse(ResponseSpecification successResponse)
successResponse
- public ResponseSpecification getSuccessResponse()
public PostFulfillmentStatusSpecification withSuccessResponse(ResponseSpecification successResponse)
successResponse
- public void setFailureResponse(ResponseSpecification failureResponse)
failureResponse
- public ResponseSpecification getFailureResponse()
public PostFulfillmentStatusSpecification withFailureResponse(ResponseSpecification failureResponse)
failureResponse
- public void setTimeoutResponse(ResponseSpecification timeoutResponse)
timeoutResponse
- public ResponseSpecification getTimeoutResponse()
public PostFulfillmentStatusSpecification withTimeoutResponse(ResponseSpecification timeoutResponse)
timeoutResponse
- public void setSuccessNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
successNextStep
- Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook
completes successfully.public DialogState getSuccessNextStep()
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
public PostFulfillmentStatusSpecification withSuccessNextStep(DialogState successNextStep)
Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook completes successfully.
successNextStep
- Specifies the next step in the conversation that Amazon Lex invokes when the fulfillment code hook
completes successfully.public void setSuccessConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
successConditional
- A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.public ConditionalSpecification getSuccessConditional()
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
public PostFulfillmentStatusSpecification withSuccessConditional(ConditionalSpecification successConditional)
A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.
successConditional
- A list of conditional branches to evaluate after the fulfillment code hook finishes successfully.public void setFailureNextStep(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
.
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
.public DialogState getFailureNextStep()
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 PostFulfillmentStatusSpecification withFailureNextStep(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
.
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
.public void setFailureConditional(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
.
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
.public ConditionalSpecification getFailureConditional()
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 PostFulfillmentStatusSpecification withFailureConditional(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
.
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
.public void setTimeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
timeoutNextStep
- Specifies the next step that the bot runs when the fulfillment code hook times out.public DialogState getTimeoutNextStep()
Specifies the next step that the bot runs when the fulfillment code hook times out.
public PostFulfillmentStatusSpecification withTimeoutNextStep(DialogState timeoutNextStep)
Specifies the next step that the bot runs when the fulfillment code hook times out.
timeoutNextStep
- Specifies the next step that the bot runs when the fulfillment code hook times out.public void setTimeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
timeoutConditional
- A list of conditional branches to evaluate if the fulfillment code hook times out.public ConditionalSpecification getTimeoutConditional()
A list of conditional branches to evaluate if the fulfillment code hook times out.
public PostFulfillmentStatusSpecification withTimeoutConditional(ConditionalSpecification timeoutConditional)
A list of conditional branches to evaluate if the fulfillment code hook times out.
timeoutConditional
- A list of conditional branches to evaluate if the fulfillment code hook times out.public String toString()
toString
in class Object
Object.toString()
public PostFulfillmentStatusSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.