public Button withText(String text) {
        setText(text);
        return this;
    }
<p>
The text that appears on the button. Use this to tell the user what value is returned when they choose this
button.
</p>

@param text
       The text that appears on the button. Use this to tell the user what value is returned when they choose
       this button.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/Button.java