public GetEventPredictionRequest withEntities(java.util.Collection<Entity> entities) {
        setEntities(entities);
        return this;
    }
<p>
The entity type (associated with the detector's event type) and specific entity ID representing who performed the
event. If an entity id is not available, use "UNKNOWN."
</p>

@param entities
       The entity type (associated with the detector's event type) and specific entity ID representing who
       performed the event. If an entity id is not available, use "UNKNOWN."
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/GetEventPredictionRequest.java