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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DialogState.BuilderdialogAction(Consumer<DialogAction.Builder> dialogAction)Sets the value of the DialogAction property for this object.DialogState.BuilderdialogAction(DialogAction dialogAction)Sets the value of the DialogAction property for this object.default DialogState.Builderintent(Consumer<IntentOverride.Builder> intent)Sets the value of the Intent property for this object.DialogState.Builderintent(IntentOverride intent)Sets the value of the Intent property for this object.DialogState.BuildersessionAttributes(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 Detail
-
dialogAction
DialogState.Builder dialogAction(DialogAction 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
default DialogState.Builder dialogAction(Consumer<DialogAction.Builder> dialogAction)
Sets the value of the DialogAction property for this object. This is a convenience method that creates an instance of theDialogAction.Builderavoiding the need to create one manually viaDialogAction.builder().When the
Consumercompletes,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:
dialogAction(DialogAction)
-
intent
DialogState.Builder intent(IntentOverride 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
default DialogState.Builder intent(Consumer<IntentOverride.Builder> intent)
Sets the value of the Intent property for this object. This is a convenience method that creates an instance of theIntentOverride.Builderavoiding the need to create one manually viaIntentOverride.builder().When the
Consumercompletes,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:
intent(IntentOverride)
-
sessionAttributes
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.
- 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.
-
-