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 Details

    • 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 the 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).

      Parameters:
      dialogAction - a consumer that will call methods on DialogAction.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 the 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).

      Parameters:
      intent - a consumer that will call methods on IntentOverride.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.