Class TopHit.Builder
java.lang.Object
co.elastic.clients.elasticsearch.text_structure.find_structure.TopHit.Builder
- All Implemented Interfaces:
ObjectBuilder<TopHit>
- Enclosing class:
- TopHit
public static class TopHit.Builder extends java.lang.Object implements ObjectBuilder<TopHit>
Builder for
TopHit.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description TopHitbuild()Builds aTopHit.TopHit.Buildercount(long value)API name:countTopHit.Buildervalue(JsonData value)API name:valueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
count
API name:count -
value
API name:value -
build
Builds aTopHit.- Specified by:
buildin interfaceObjectBuilder<TopHit>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-