Interface SlotCaptureSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>,SdkBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>,SdkPojo
- Enclosing class:
- SlotCaptureSetting
public static interface SlotCaptureSetting.Builder extends SdkPojo, CopyableBuilder<SlotCaptureSetting.Builder,SlotCaptureSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SlotCaptureSetting.BuildercaptureConditional(Consumer<ConditionalSpecification.Builder> captureConditional)A list of conditional branches to evaluate after the slot value is captured.SlotCaptureSetting.BuildercaptureConditional(ConditionalSpecification captureConditional)A list of conditional branches to evaluate after the slot value is captured.default SlotCaptureSetting.BuildercaptureNextStep(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.BuildercaptureNextStep(DialogState captureNextStep)Specifies the next step that the bot runs when the slot value is captured before the code hook times out.default SlotCaptureSetting.BuildercaptureResponse(Consumer<ResponseSpecification.Builder> captureResponse)Sets the value of the CaptureResponse property for this object.SlotCaptureSetting.BuildercaptureResponse(ResponseSpecification captureResponse)Sets the value of the CaptureResponse property for this object.default SlotCaptureSetting.BuildercodeHook(Consumer<DialogCodeHookInvocationSetting.Builder> codeHook)Code hook called after Amazon Lex successfully captures a slot value.SlotCaptureSetting.BuildercodeHook(DialogCodeHookInvocationSetting codeHook)Code hook called after Amazon Lex successfully captures a slot value.default SlotCaptureSetting.BuilderelicitationCodeHook(Consumer<ElicitationCodeHookInvocationSetting.Builder> elicitationCodeHook)Code hook called when Amazon Lex doesn't capture a slot value.SlotCaptureSetting.BuilderelicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)Code hook called when Amazon Lex doesn't capture a slot value.default SlotCaptureSetting.BuilderfailureConditional(Consumer<ConditionalSpecification.Builder> failureConditional)A list of conditional branches to evaluate when the slot value isn't captured.SlotCaptureSetting.BuilderfailureConditional(ConditionalSpecification failureConditional)A list of conditional branches to evaluate when the slot value isn't captured.default SlotCaptureSetting.BuilderfailureNextStep(Consumer<DialogState.Builder> failureNextStep)Specifies the next step that the bot runs when the slot value code is not recognized.SlotCaptureSetting.BuilderfailureNextStep(DialogState failureNextStep)Specifies the next step that the bot runs when the slot value code is not recognized.default SlotCaptureSetting.BuilderfailureResponse(Consumer<ResponseSpecification.Builder> failureResponse)Sets the value of the FailureResponse property for this object.SlotCaptureSetting.BuilderfailureResponse(ResponseSpecification failureResponse)Sets the value of the FailureResponse property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
captureResponse
SlotCaptureSetting.Builder captureResponse(ResponseSpecification captureResponse)
Sets the value of the CaptureResponse property for this object.- Parameters:
captureResponse- The new value for the CaptureResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
captureResponse
default SlotCaptureSetting.Builder captureResponse(Consumer<ResponseSpecification.Builder> captureResponse)
Sets the value of the CaptureResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptureResponse(ResponseSpecification).- Parameters:
captureResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
captureResponse(ResponseSpecification)
-
captureNextStep
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.
- Parameters:
captureNextStep- Specifies the next step that the bot runs when the slot value is captured before the code hook times out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
captureNextStep
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.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptureNextStep(DialogState).- Parameters:
captureNextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
captureNextStep(DialogState)
-
captureConditional
SlotCaptureSetting.Builder captureConditional(ConditionalSpecification captureConditional)
A list of conditional branches to evaluate after the slot value is captured.
- Parameters:
captureConditional- A list of conditional branches to evaluate after the slot value is captured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
captureConditional
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.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocaptureConditional(ConditionalSpecification).- Parameters:
captureConditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
captureConditional(ConditionalSpecification)
-
failureResponse
SlotCaptureSetting.Builder failureResponse(ResponseSpecification failureResponse)
Sets the value of the FailureResponse property for this object.- Parameters:
failureResponse- The new value for the FailureResponse property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureResponse
default SlotCaptureSetting.Builder failureResponse(Consumer<ResponseSpecification.Builder> failureResponse)
Sets the value of the FailureResponse property for this object. This is a convenience method that creates an instance of theResponseSpecification.Builderavoiding the need to create one manually viaResponseSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureResponse(ResponseSpecification).- Parameters:
failureResponse- a consumer that will call methods onResponseSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureResponse(ResponseSpecification)
-
failureNextStep
SlotCaptureSetting.Builder failureNextStep(DialogState failureNextStep)
Specifies the next step that the bot runs when the slot value code is not recognized.
- Parameters:
failureNextStep- Specifies the next step that the bot runs when the slot value code is not recognized.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureNextStep
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.Builderavoiding the need to create one manually viaDialogState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureNextStep(DialogState).- Parameters:
failureNextStep- a consumer that will call methods onDialogState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureNextStep(DialogState)
-
failureConditional
SlotCaptureSetting.Builder failureConditional(ConditionalSpecification failureConditional)
A list of conditional branches to evaluate when the slot value isn't captured.
- Parameters:
failureConditional- A list of conditional branches to evaluate when the slot value isn't captured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureConditional
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.Builderavoiding the need to create one manually viaConditionalSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureConditional(ConditionalSpecification).- Parameters:
failureConditional- a consumer that will call methods onConditionalSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
failureConditional(ConditionalSpecification)
-
codeHook
SlotCaptureSetting.Builder codeHook(DialogCodeHookInvocationSetting codeHook)
Code hook called after Amazon Lex successfully captures a slot value.
- Parameters:
codeHook- Code hook called after Amazon Lex successfully captures a slot value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeHook
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.Builderavoiding the need to create one manually viaDialogCodeHookInvocationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeHook(DialogCodeHookInvocationSetting).- Parameters:
codeHook- a consumer that will call methods onDialogCodeHookInvocationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
codeHook(DialogCodeHookInvocationSetting)
-
elicitationCodeHook
SlotCaptureSetting.Builder elicitationCodeHook(ElicitationCodeHookInvocationSetting elicitationCodeHook)
Code hook called when Amazon Lex doesn't capture a slot value.
- Parameters:
elicitationCodeHook- Code hook called when Amazon Lex doesn't capture a slot value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elicitationCodeHook
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.Builderavoiding the need to create one manually viaElicitationCodeHookInvocationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelicitationCodeHook(ElicitationCodeHookInvocationSetting).- Parameters:
elicitationCodeHook- a consumer that will call methods onElicitationCodeHookInvocationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
elicitationCodeHook(ElicitationCodeHookInvocationSetting)
-
-