public void setText(String text) {
        this.text = text;
    }
<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.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/Button.java