public AppDefinition withCanEdit(Boolean canEdit) {
        setCanEdit(canEdit);
        return this;
    }
<p>
A flag indicating whether the Q App's definition can be edited by the user.
</p>

@param canEdit
       A flag indicating whether the Q App's definition can be edited by the user.
@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