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.
|
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 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.Copyright © 2021. All rights reserved.