public void setCancel(FormButton cancel) {
        this.cancel = cancel;
    }
<p>
Displays a cancel button.
</p>

@param cancel
       Displays a cancel button.
aws-java-sdk-amplifyuibuilder/src/main/java/com/amazonaws/services/amplifyuibuilder/model/FormCTA.java