public DomainPackageDetails withReferencePath(String referencePath) {
        setReferencePath(referencePath);
        return this;
    }
<p>
The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
</p>

@param referencePath
       The relative path on Amazon ES nodes, which can be used as synonym_path when the package is synonym file.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticsearch/src/main/java/com/amazonaws/services/elasticsearch/model/DomainPackageDetails.java