[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThis is a builder class (\u003ccode\u003eFacetResult.Builder\u003c/code\u003e) for creating \u003ccode\u003eFacetResult\u003c/code\u003e objects, and it is not thread-safe.\u003c/p\u003e\n"],["\u003cp\u003eThe builder inherits several methods from the \u003ccode\u003eObject\u003c/code\u003e class, including \u003ccode\u003eclone()\u003c/code\u003e, \u003ccode\u003eequals()\u003c/code\u003e, and \u003ccode\u003etoString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can add a \u003ccode\u003eFacetResultValue\u003c/code\u003e to the facet result using the \u003ccode\u003eaddValue()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003esetName()\u003c/code\u003e method is used to set the name of the facet for the result, which is required to build.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method is used to create the final \u003ccode\u003eFacetResult\u003c/code\u003e object, and a name is required for a successful build.\u003c/p\u003e\n"]]],[],null,["# Class FacetResult.Builder (2.0.0)\n\n public static final class FacetResult.Builder\n\nA builder of facet result. This is not thread-safe. \n\nInheritance\n-----------\n\n[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \\\u003e FacetResult.Builder \n\nInherited Members\n-----------------\n\n[Object.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--) \n[Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) \n[Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)\n\nMethods\n-------\n\n### addValue(FacetResultValue value)\n\n public FacetResult.Builder addValue(FacetResultValue value)\n\nAdd a value to this facet result.\n\n### build()\n\n public FacetResult build()\n\nBuilds a facet result. The builder must at least have a name.\n\n### setName(String name)\n\n public FacetResult.Builder setName(String name)\n\nSets the name of this facet result that is a single facet name."]]