public static interface IntentClosingSetting.Builder extends SdkPojo, CopyableBuilder<IntentClosingSetting.Builder,IntentClosingSetting>
| Modifier and Type | Method and Description |
|---|---|
IntentClosingSetting.Builder |
active(Boolean active)
Specifies whether an intent's closing response is used.
|
default IntentClosingSetting.Builder |
closingResponse(Consumer<ResponseSpecification.Builder> closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
|
IntentClosingSetting.Builder |
closingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
|
IntentClosingSetting.Builder |
conditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response.
|
default IntentClosingSetting.Builder |
conditional(Consumer<ConditionalSpecification.Builder> conditional)
A list of conditional branches associated with the intent's closing response.
|
default IntentClosingSetting.Builder |
nextStep(Consumer<DialogState.Builder> nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
|
IntentClosingSetting.Builder |
nextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildIntentClosingSetting.Builder closingResponse(ResponseSpecification closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
closingResponse - The response that Amazon Lex sends to the user when the intent is complete.default IntentClosingSetting.Builder closingResponse(Consumer<ResponseSpecification.Builder> closingResponse)
The response that Amazon Lex sends to the user when the intent is complete.
This is a convenience method that creates an instance of theResponseSpecification.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 closingResponse(ResponseSpecification).
closingResponse - a consumer that will call methods on ResponseSpecification.BuilderclosingResponse(ResponseSpecification)IntentClosingSetting.Builder active(Boolean active)
Specifies whether an intent's closing response is used. When this field is false, the closing response isn't
sent to the user. If the active field isn't specified, the default is true.
active - Specifies whether an intent's closing response is used. When this field is false, the closing response
isn't sent to the user. If the active field isn't specified, the default is true.IntentClosingSetting.Builder nextStep(DialogState nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
nextStep - Specifies the next step that the bot executes after playing the intent's closing response.default IntentClosingSetting.Builder nextStep(Consumer<DialogState.Builder> nextStep)
Specifies the next step that the bot executes after playing the intent's closing response.
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 nextStep(DialogState).
nextStep - a consumer that will call methods on DialogState.BuildernextStep(DialogState)IntentClosingSetting.Builder conditional(ConditionalSpecification conditional)
A list of conditional branches associated with the intent's closing response. These branches are executed
when the nextStep attribute is set to EvalutateConditional.
conditional - A list of conditional branches associated with the intent's closing response. These branches are
executed when the nextStep attribute is set to EvalutateConditional.default IntentClosingSetting.Builder conditional(Consumer<ConditionalSpecification.Builder> conditional)
A list of conditional branches associated with the intent's closing response. These branches are executed
when the nextStep attribute is set to EvalutateConditional.
ConditionalSpecification.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 conditional(ConditionalSpecification).
conditional - a consumer that will call methods on ConditionalSpecification.Builderconditional(ConditionalSpecification)Copyright © 2022. All rights reserved.