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