Class SlotCaptureSetting
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.SlotCaptureSetting
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSlotCaptureSetting.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SlotCaptureSetting.Builderbuilder()ConditionalSpecificationcaptureConditional()A list of conditional branches to evaluate after the slot value is captured.DialogStatecaptureNextStep()Specifies the next step that the bot runs when the slot value is captured before the code hook times out.ResponseSpecificationcaptureResponse()Returns the value of the CaptureResponse property for this object.DialogCodeHookInvocationSettingcodeHook()Code hook called after Amazon Lex successfully captures a slot value.ElicitationCodeHookInvocationSettingelicitationCodeHook()Code hook called when Amazon Lex doesn't capture a slot value.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ConditionalSpecificationfailureConditional()A list of conditional branches to evaluate when the slot value isn't captured.DialogStatefailureNextStep()Specifies the next step that the bot runs when the slot value code is not recognized.ResponseSpecificationfailureResponse()Returns the value of the FailureResponse property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends SlotCaptureSetting.Builder>serializableBuilderClass()SlotCaptureSetting.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
captureResponse
public final ResponseSpecification captureResponse()
Returns the value of the CaptureResponse property for this object.- Returns:
- The value of the CaptureResponse property for this object.
-
captureNextStep
public final DialogState captureNextStep()
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
- Returns:
- Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
-
captureConditional
public final ConditionalSpecification captureConditional()
A list of conditional branches to evaluate after the slot value is captured.
- Returns:
- A list of conditional branches to evaluate after the slot value is captured.
-
failureResponse
public final ResponseSpecification failureResponse()
Returns the value of the FailureResponse property for this object.- Returns:
- The value of the FailureResponse property for this object.
-
failureNextStep
public final DialogState failureNextStep()
Specifies the next step that the bot runs when the slot value code is not recognized.
- Returns:
- Specifies the next step that the bot runs when the slot value code is not recognized.
-
failureConditional
public final ConditionalSpecification failureConditional()
A list of conditional branches to evaluate when the slot value isn't captured.
- Returns:
- A list of conditional branches to evaluate when the slot value isn't captured.
-
codeHook
public final DialogCodeHookInvocationSetting codeHook()
Code hook called after Amazon Lex successfully captures a slot value.
- Returns:
- Code hook called after Amazon Lex successfully captures a slot value.
-
elicitationCodeHook
public final ElicitationCodeHookInvocationSetting elicitationCodeHook()
Code hook called when Amazon Lex doesn't capture a slot value.
- Returns:
- Code hook called when Amazon Lex doesn't capture a slot value.
-
toBuilder
public SlotCaptureSetting.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>
-
builder
public static SlotCaptureSetting.Builder builder()
-
serializableBuilderClass
public static Class<? extends SlotCaptureSetting.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-