Class OpenPointInTimeRequest.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.OpenPointInTimeRequest.Builder
All Implemented Interfaces:
ObjectBuilder<OpenPointInTimeRequest>
Enclosing class:
OpenPointInTimeRequest

public static class OpenPointInTimeRequest.Builder
extends ObjectBuilderBase
implements ObjectBuilder<OpenPointInTimeRequest>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • index

      public final OpenPointInTimeRequest.Builder index​(java.util.List<java.lang.String> list)
      Required - A comma-separated list of index names to open point in time; use _all or empty string to perform the operation on all indices

      API name: index

      Adds all elements of list to index.

    • index

      public final OpenPointInTimeRequest.Builder index​(java.lang.String value, java.lang.String... values)
      Required - A comma-separated list of index names to open point in time; use _all or empty string to perform the operation on all indices

      API name: index

      Adds one or more values to index.

    • keepAlive

      public final OpenPointInTimeRequest.Builder keepAlive​(Time value)
      Required - Specific the time to live for the point in time

      API name: keep_alive

    • keepAlive

      public final OpenPointInTimeRequest.Builder keepAlive​(java.util.function.Function<Time.Builder,​ObjectBuilder<Time>> fn)
      Required - Specific the time to live for the point in time

      API name: keep_alive

    • build

      public OpenPointInTimeRequest build()
      Specified by:
      build in interface ObjectBuilder<OpenPointInTimeRequest>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.