Interface Button.Builder

    • Method Detail

      • text

        Button.Builder text​(String text)

        The text that is displayed on the button.

        Parameters:
        text - The text that is displayed on the button.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • value

        Button.Builder value​(String value)

        The value returned to Amazon Lex V2 when a user chooses the button.

        Parameters:
        value - The value returned to Amazon Lex V2 when a user chooses the button.
        Returns:
        Returns a reference to this object so that method calls can be chained together.