public Event withEventClass(String eventClass) {
        setEventClass(eventClass);
        return this;
    }
<p>
The class of the event. The class specifies what the event is related to, such as an infrastructure change, a
deployment, or a schema change.
</p>

@param eventClass
       The class of the event. The class specifies what the event is related to, 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/Event.java