public Event withSourceType(String sourceType) {
        setSourceType(sourceType);
        return this;
    }
<p>
Specifies the origin of this event - a cluster, a parameter group, a security group, etc.
</p>

@param sourceType
       Specifies the origin of this event - a cluster, a parameter group, a security group, etc.
@return Returns a reference to this object so that method calls can be chained together.
@see SourceType
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/Event.java