public ListEventsFilters withEventClass(EventClass eventClass) {
        this.eventClass = eventClass.toString();
        return this;
    }
<p>
The class of the events you want to filter for, such as an infrastructure change, a deployment, or a schema
change.
</p>

@param eventClass
       The class of the events you want to filter for, such as an infrastructure change, a deployment, or a
       schema change.
@return Returns a reference to this object so that method calls can be chained together.
@see EventClass
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/ListEventsFilters.java