Class IndexResult.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<IndexResult.Builder>
co.elastic.clients.elasticsearch.watcher.IndexResult.Builder
- All Implemented Interfaces:
WithJson<IndexResult.Builder>
,ObjectBuilder<IndexResult>
- Enclosing class:
- IndexResult
public static class IndexResult.Builder
extends WithJsonObjectBuilderBase<IndexResult.Builder>
implements ObjectBuilder<IndexResult>
Builder for
IndexResult
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aIndexResult
.final IndexResult.Builder
response
(IndexResultSummary value) Required - API name:response
final IndexResult.Builder
Required - API name:response
protected IndexResult.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
response
Required - API name:response
-
response
public final IndexResult.Builder response(Function<IndexResultSummary.Builder, ObjectBuilder<IndexResultSummary>> fn) Required - API name:response
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<IndexResult.Builder>
-
build
Builds aIndexResult
.- Specified by:
build
in interfaceObjectBuilder<IndexResult>
- Throws:
NullPointerException
- if some of the required fields are null.
-