public RepositorySyncEvent withEvent(String event) {
        setEvent(event);
        return this;
    }
<p>
Event detail for a repository sync attempt.
</p>

@param event
       Event detail for a repository sync attempt.
@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