public RepositorySyncEvent withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of event.
</p>

@param type
       The type of event.
@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