@Generated(value="software.amazon.awssdk:codegen") public final class SlotCaptureSetting extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>
Settings used when Amazon Lex successfully captures a slot value from a user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SlotCaptureSetting.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SlotCaptureSetting.Builder |
builder() |
ConditionalSpecification |
captureConditional()
A list of conditional branches to evaluate after the slot value is captured.
|
DialogState |
captureNextStep()
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
ResponseSpecification |
captureResponse()
Returns the value of the CaptureResponse property for this object.
|
DialogCodeHookInvocationSetting |
codeHook()
Code hook called after Amazon Lex successfully captures a slot value.
|
ElicitationCodeHookInvocationSetting |
elicitationCodeHook()
Code hook called when Amazon Lex doesn't capture a slot value.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ConditionalSpecification |
failureConditional()
A list of conditional branches to evaluate when the slot value isn't captured.
|
DialogState |
failureNextStep()
Specifies the next step that the bot runs when the slot value code is not recognized.
|
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 SlotCaptureSetting.Builder> |
serializableBuilderClass() |
SlotCaptureSetting.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final ResponseSpecification captureResponse()
public final DialogState captureNextStep()
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
public final ConditionalSpecification captureConditional()
A list of conditional branches to evaluate after the slot value is captured.
public final ResponseSpecification failureResponse()
public final DialogState failureNextStep()
Specifies the next step that the bot runs when the slot value code is not recognized.
public final ConditionalSpecification failureConditional()
A list of conditional branches to evaluate when the slot value isn't captured.
public final DialogCodeHookInvocationSetting codeHook()
Code hook called after Amazon Lex successfully captures a slot value.
public final ElicitationCodeHookInvocationSetting elicitationCodeHook()
Code hook called when Amazon Lex doesn't capture a slot value.
public SlotCaptureSetting.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>public static SlotCaptureSetting.Builder builder()
public static Class<? extends SlotCaptureSetting.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.