@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SlotCaptureSetting extends Object implements Serializable, Cloneable, StructuredPojo
Settings used when Amazon Lex successfully captures a slot value from a user.
Constructor and Description |
---|
SlotCaptureSetting() |
Modifier and Type | Method and Description |
---|---|
SlotCaptureSetting |
clone() |
boolean |
equals(Object obj) |
ConditionalSpecification |
getCaptureConditional()
A list of conditional branches to evaluate after the slot value is captured.
|
DialogState |
getCaptureNextStep()
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
ResponseSpecification |
getCaptureResponse() |
DialogCodeHookInvocationSetting |
getCodeHook()
Code hook called after Amazon Lex successfully captures a slot value.
|
ElicitationCodeHookInvocationSetting |
getElicitationCodeHook()
Code hook called when Amazon Lex doesn't capture a slot value.
|
ConditionalSpecification |
getFailureConditional()
A list of conditional branches to evaluate when the slot value isn't captured.
|
DialogState |
getFailureNextStep()
Specifies the next step that the bot runs when the slot value code is not recognized.
|
ResponseSpecification |
getFailureResponse() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCaptureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
|
void |
setCaptureNextStep(DialogState captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
void |
setCaptureResponse(ResponseSpecification captureResponse) |
void |
setCodeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
|
void |
setElicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
|
void |
setFailureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
|
void |
setFailureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
|
void |
setFailureResponse(ResponseSpecification failureResponse) |
String |
toString()
Returns a string representation of this object.
|
SlotCaptureSetting |
withCaptureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
|
SlotCaptureSetting |
withCaptureNextStep(DialogState captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
SlotCaptureSetting |
withCaptureResponse(ResponseSpecification captureResponse) |
SlotCaptureSetting |
withCodeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
|
SlotCaptureSetting |
withElicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
|
SlotCaptureSetting |
withFailureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
|
SlotCaptureSetting |
withFailureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
|
SlotCaptureSetting |
withFailureResponse(ResponseSpecification failureResponse) |
public void setCaptureResponse(ResponseSpecification captureResponse)
captureResponse
- public ResponseSpecification getCaptureResponse()
public SlotCaptureSetting withCaptureResponse(ResponseSpecification captureResponse)
captureResponse
- public void setCaptureNextStep(DialogState captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
captureNextStep
- Specifies the next step that the bot runs when the slot value is captured before the code hook times out.public DialogState getCaptureNextStep()
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
public SlotCaptureSetting withCaptureNextStep(DialogState captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
captureNextStep
- Specifies the next step that the bot runs when the slot value is captured before the code hook times out.public void setCaptureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
captureConditional
- A list of conditional branches to evaluate after the slot value is captured.public ConditionalSpecification getCaptureConditional()
A list of conditional branches to evaluate after the slot value is captured.
public SlotCaptureSetting withCaptureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
captureConditional
- A list of conditional branches to evaluate after the slot value is captured.public void setFailureResponse(ResponseSpecification failureResponse)
failureResponse
- public ResponseSpecification getFailureResponse()
public SlotCaptureSetting withFailureResponse(ResponseSpecification failureResponse)
failureResponse
- public void setFailureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
failureNextStep
- Specifies the next step that the bot runs when the slot value code is not recognized.public DialogState getFailureNextStep()
Specifies the next step that the bot runs when the slot value code is not recognized.
public SlotCaptureSetting withFailureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
failureNextStep
- Specifies the next step that the bot runs when the slot value code is not recognized.public void setFailureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
failureConditional
- A list of conditional branches to evaluate when the slot value isn't captured.public ConditionalSpecification getFailureConditional()
A list of conditional branches to evaluate when the slot value isn't captured.
public SlotCaptureSetting withFailureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
failureConditional
- A list of conditional branches to evaluate when the slot value isn't captured.public void setCodeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
codeHook
- Code hook called after Amazon Lex successfully captures a slot value.public DialogCodeHookInvocationSetting getCodeHook()
Code hook called after Amazon Lex successfully captures a slot value.
public SlotCaptureSetting withCodeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
codeHook
- Code hook called after Amazon Lex successfully captures a slot value.public void setElicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
elicitationCodeHook
- Code hook called when Amazon Lex doesn't capture a slot value.public ElicitationCodeHookInvocationSetting getElicitationCodeHook()
Code hook called when Amazon Lex doesn't capture a slot value.
public SlotCaptureSetting withElicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
elicitationCodeHook
- Code hook called when Amazon Lex doesn't capture a slot value.public String toString()
toString
in class Object
Object.toString()
public SlotCaptureSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.