public static interface DialogState.Builder extends SdkPojo, CopyableBuilder<DialogState.Builder,DialogState>
| Modifier and Type | Method and Description |
|---|---|
default DialogState.Builder |
dialogAction(Consumer<DialogAction.Builder> dialogAction)
Sets the value of the DialogAction property for this object.
|
DialogState.Builder |
dialogAction(DialogAction dialogAction)
Sets the value of the DialogAction property for this object.
|
default DialogState.Builder |
intent(Consumer<IntentOverride.Builder> intent)
Sets the value of the Intent property for this object.
|
DialogState.Builder |
intent(IntentOverride intent)
Sets the value of the Intent property for this object.
|
DialogState.Builder |
sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDialogState.Builder dialogAction(DialogAction dialogAction)
dialogAction - The new value for the DialogAction property for this object.default DialogState.Builder dialogAction(Consumer<DialogAction.Builder> dialogAction)
DialogAction.Builder avoiding the need
to create one manually via DialogAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to dialogAction(DialogAction).
dialogAction - a consumer that will call methods on DialogAction.BuilderdialogAction(DialogAction)DialogState.Builder intent(IntentOverride intent)
intent - The new value for the Intent property for this object.default DialogState.Builder intent(Consumer<IntentOverride.Builder> intent)
IntentOverride.Builder avoiding the need
to create one manually via IntentOverride.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to intent(IntentOverride).
intent - a consumer that will call methods on IntentOverride.Builderintent(IntentOverride)DialogState.Builder sessionAttributes(Map<String,String> sessionAttributes)
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
sessionAttributes - Map of key/value pairs representing session-specific context information. It contains application
information passed between Amazon Lex and a client application.Copyright © 2023. All rights reserved.