public PutPartnerEventsRequestEntry withTime(java.util.Date time) {
        setTime(time);
        return this;
    }
<p>
The date and time of the event.
</p>

@param time
       The date and time of the event.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/PutPartnerEventsRequestEntry.java