Class AsyncSearchStatusResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.async_search.status.StatusResponseBase.AbstractBuilder<AsyncSearchStatusResponse.Builder>
co.elastic.clients.elasticsearch.async_search.AsyncSearchStatusResponse.Builder
- All Implemented Interfaces:
WithJson<AsyncSearchStatusResponse.Builder>,ObjectBuilder<AsyncSearchStatusResponse>
- Enclosing class:
- AsyncSearchStatusResponse
public static class AsyncSearchStatusResponse.Builder extends StatusResponseBase.AbstractBuilder<AsyncSearchStatusResponse.Builder> implements ObjectBuilder<AsyncSearchStatusResponse>
Builder for
AsyncSearchStatusResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description AsyncSearchStatusResponsebuild()Builds aAsyncSearchStatusResponse.protected AsyncSearchStatusResponse.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.async_search.status.StatusResponseBase.AbstractBuilder
completionStatus, shards, shardsMethods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder
expirationTimeInMillis, id, isPartial, isRunning, startTimeInMillisMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classAsyncSearchResponseBase.AbstractBuilder<AsyncSearchStatusResponse.Builder>
-
build
Builds aAsyncSearchStatusResponse.- Specified by:
buildin interfaceObjectBuilder<AsyncSearchStatusResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-