public ListRepositorySyncDefinitionsResult withRepositorySyncDefinitions(java.util.Collection<RepositorySyncDefinition> repositorySyncDefinitions) {
        setRepositorySyncDefinitions(repositorySyncDefinitions);
        return this;
    }
<p>
The list of repository sync definitions returned by the request. A <code>RepositorySyncDefinition</code> is a
mapping from a repository branch to all the Amazon Web Services resources that are being synced from that branch.
</p>

@param repositorySyncDefinitions
       The list of repository sync definitions returned by the request. A <code>RepositorySyncDefinition</code>
       is a mapping from a repository branch to all the Amazon Web Services resources that are being synced from
       that branch.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codestarconnections/src/main/java/com/amazonaws/services/codestarconnections/model/ListRepositorySyncDefinitionsResult.java