Interface DialogState.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DialogState.Builder,
,DialogState> SdkBuilder<DialogState.Builder,
,DialogState> SdkPojo
- Enclosing class:
DialogState
public static interface DialogState.Builder
extends SdkPojo, CopyableBuilder<DialogState.Builder,DialogState>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DialogState.Builder
dialogAction
(Consumer<DialogAction.Builder> dialogAction) Sets the value of the DialogAction property for this object.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.intent
(IntentOverride intent) Sets the value of the Intent property for this object.sessionAttributes
(Map<String, String> sessionAttributes) Map of key/value pairs representing session-specific context information.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 Details
-
dialogAction
Sets the value of the DialogAction property for this object.- Parameters:
dialogAction
- The new value for the DialogAction property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogAction
Sets the value of the DialogAction property for this object. This is a convenience method that creates an instance of theDialogAction.Builder
avoiding the need to create one manually viaDialogAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todialogAction(DialogAction)
.- Parameters:
dialogAction
- a consumer that will call methods onDialogAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intent
Sets the value of the Intent property for this object.- Parameters:
intent
- The new value for the Intent property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intent
Sets the value of the Intent property for this object. This is a convenience method that creates an instance of theIntentOverride.Builder
avoiding the need to create one manually viaIntentOverride.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointent(IntentOverride)
.- Parameters:
intent
- a consumer that will call methods onIntentOverride.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sessionAttributes
Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.
- Parameters:
sessionAttributes
- Map of key/value pairs representing session-specific context information. It contains application information passed between Amazon Lex and a client application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-