public RepositorySyncEvent withEvent(String event) {
        setEvent(event);
        return this;
    }
<p>
A description of a repository sync event.
</p>

@param event
       A description of a repository sync event.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeconnections/src/main/java/com/amazonaws/services/codeconnections/model/RepositorySyncEvent.java