public AppDefinition withCards(java.util.Collection<Card> cards) {
        setCards(cards);
        return this;
    }
<p>
The cards that make up the Q App, such as text input, file upload, or query cards.
</p>

@param cards
       The cards that make up the Q App, such as text input, file upload, or query cards.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qapps/src/main/java/com/amazonaws/services/qapps/model/AppDefinition.java