public RepositorySyncEvent withTime(java.util.Date time) {
        setTime(time);
        return this;
    }
<p>
The time that the sync event occurred.
</p>

@param time
       The time that the sync event occurred.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-proton/src/main/java/com/amazonaws/services/proton/model/RepositorySyncEvent.java