Class AsyncSearchResponseBase.AbstractBuilder<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase.AbstractBuilder<BuilderT>
All Implemented Interfaces:
WithJson<BuilderT>
Direct Known Subclasses:
AsyncSearchDocumentResponseBase.AbstractBuilder, StatusResponseBase.AbstractBuilder
Enclosing class:
AsyncSearchResponseBase

protected abstract static class AsyncSearchResponseBase.AbstractBuilder<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • id

      public final BuilderT id​(@Nullable java.lang.String value)
      API name: id
    • isPartial

      public final BuilderT isPartial​(boolean value)
      Required - API name: is_partial
    • isRunning

      public final BuilderT isRunning​(boolean value)
      Required - API name: is_running
    • expirationTime

      public final BuilderT expirationTime​(@Nullable DateTime value)
      API name: expiration_time
    • expirationTimeInMillis

      public final BuilderT expirationTimeInMillis​(long value)
      Required - API name: expiration_time_in_millis
    • startTime

      public final BuilderT startTime​(@Nullable DateTime value)
      API name: start_time
    • startTimeInMillis

      public final BuilderT startTimeInMillis​(long value)
      Required - API name: start_time_in_millis
    • self

      protected abstract BuilderT self()
      Specified by:
      self in class WithJsonObjectBuilderBase<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>