public static interface SlotCaptureSetting.Builder extends SdkPojo, CopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>
| Modifier and Type | Method and Description |
|---|---|
SlotCaptureSetting.Builder |
captureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
|
default SlotCaptureSetting.Builder |
captureConditional(Consumer<ConditionalSpecification.Builder> captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
|
default SlotCaptureSetting.Builder |
captureNextStep(Consumer<DialogState.Builder> captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
SlotCaptureSetting.Builder |
captureNextStep(DialogState captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
|
default SlotCaptureSetting.Builder |
captureResponse(Consumer<ResponseSpecification.Builder> captureResponse)
Sets the value of the CaptureResponse property for this object.
|
SlotCaptureSetting.Builder |
captureResponse(ResponseSpecification captureResponse)
Sets the value of the CaptureResponse property for this object.
|
default SlotCaptureSetting.Builder |
codeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
|
SlotCaptureSetting.Builder |
codeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
|
default SlotCaptureSetting.Builder |
elicitationCodeHook(Consumer<ElicitationCodeHookInvocationSetting.Builder> elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
|
SlotCaptureSetting.Builder |
elicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
|
SlotCaptureSetting.Builder |
failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
|
default SlotCaptureSetting.Builder |
failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
|
default SlotCaptureSetting.Builder |
failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
|
SlotCaptureSetting.Builder |
failureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
|
default SlotCaptureSetting.Builder |
failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse property for this object.
|
SlotCaptureSetting.Builder |
failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotCaptureSetting.Builder captureResponse(ResponseSpecification captureResponse)
captureResponse - The new value for the CaptureResponse property for this object.default SlotCaptureSetting.Builder captureResponse(Consumer<ResponseSpecification.Builder> captureResponse)
ResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to captureResponse(ResponseSpecification).
captureResponse - a consumer that will call methods on ResponseSpecification.BuildercaptureResponse(ResponseSpecification)SlotCaptureSetting.Builder captureNextStep(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.default SlotCaptureSetting.Builder captureNextStep(Consumer<DialogState.Builder> captureNextStep)
Specifies the next step that the bot runs when the slot value is captured before the code hook times out.
This is a convenience method that creates an instance of theDialogState.Builder avoiding the need to
create one manually via DialogState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to captureNextStep(DialogState).
captureNextStep - a consumer that will call methods on DialogState.BuildercaptureNextStep(DialogState)SlotCaptureSetting.Builder captureConditional(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.default SlotCaptureSetting.Builder captureConditional(Consumer<ConditionalSpecification.Builder> captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
This is a convenience method that creates an instance of theConditionalSpecification.Builder
avoiding the need to create one manually via ConditionalSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to captureConditional(ConditionalSpecification).
captureConditional - a consumer that will call methods on ConditionalSpecification.BuildercaptureConditional(ConditionalSpecification)SlotCaptureSetting.Builder failureResponse(ResponseSpecification failureResponse)
failureResponse - The new value for the FailureResponse property for this object.default SlotCaptureSetting.Builder failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
ResponseSpecification.Builder avoiding
the need to create one manually via ResponseSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to failureResponse(ResponseSpecification).
failureResponse - a consumer that will call methods on ResponseSpecification.BuilderfailureResponse(ResponseSpecification)SlotCaptureSetting.Builder failureNextStep(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.default SlotCaptureSetting.Builder failureNextStep(Consumer<DialogState.Builder> failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
This is a convenience method that creates an instance of theDialogState.Builder avoiding the need to
create one manually via DialogState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to failureNextStep(DialogState).
failureNextStep - a consumer that will call methods on DialogState.BuilderfailureNextStep(DialogState)SlotCaptureSetting.Builder failureConditional(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.default SlotCaptureSetting.Builder failureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
This is a convenience method that creates an instance of theConditionalSpecification.Builder
avoiding the need to create one manually via ConditionalSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to failureConditional(ConditionalSpecification).
failureConditional - a consumer that will call methods on ConditionalSpecification.BuilderfailureConditional(ConditionalSpecification)SlotCaptureSetting.Builder codeHook(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.default SlotCaptureSetting.Builder codeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
This is a convenience method that creates an instance of theDialogCodeHookInvocationSetting.Builder
avoiding the need to create one manually via DialogCodeHookInvocationSetting.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to codeHook(DialogCodeHookInvocationSetting).
codeHook - a consumer that will call methods on DialogCodeHookInvocationSetting.BuildercodeHook(DialogCodeHookInvocationSetting)SlotCaptureSetting.Builder elicitationCodeHook(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.default SlotCaptureSetting.Builder elicitationCodeHook(Consumer<ElicitationCodeHookInvocationSetting.Builder> elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
This is a convenience method that creates an instance of theElicitationCodeHookInvocationSetting.Builder avoiding the need to create one manually via
ElicitationCodeHookInvocationSetting.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to elicitationCodeHook(ElicitationCodeHookInvocationSetting).
elicitationCodeHook - a consumer that will call methods on ElicitationCodeHookInvocationSetting.BuilderelicitationCodeHook(ElicitationCodeHookInvocationSetting)Copyright © 2023. All rights reserved.