Class BulkOperationBase.AbstractBuilder<BuilderT extends BulkOperationBase.AbstractBuilder<BuilderT>>

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.core.bulk.BulkOperationBase.AbstractBuilder<BuilderT>
All Implemented Interfaces:
WithJson<BuilderT>
Direct Known Subclasses:
DeleteOperation.Builder, UpdateOperation.Builder, WriteOperation.AbstractBuilder
Enclosing class:
BulkOperationBase

public abstract static class BulkOperationBase.AbstractBuilder<BuilderT extends BulkOperationBase.AbstractBuilder<BuilderT>> extends WithJsonObjectBuilderBase<BuilderT>
  • Constructor Details

    • AbstractBuilder

      public AbstractBuilder()
  • Method Details

    • id

      public final BuilderT id(@Nullable String value)
      The document ID.

      API name: _id

    • index

      public final BuilderT index(@Nullable String value)
      The name of the index or index alias to perform the action on.

      API name: _index

    • routing

      public final BuilderT routing(@Nullable String value)
      A custom value used to route operations to a specific shard, or multiple comma separated values.

      API name: routing

    • ifPrimaryTerm

      public final BuilderT ifPrimaryTerm(@Nullable Long value)
      API name: if_primary_term
    • ifSeqNo

      public final BuilderT ifSeqNo(@Nullable Long value)
      API name: if_seq_no
    • version

      public final BuilderT version(@Nullable Long value)
      API name: version
    • versionType

      public final BuilderT versionType(@Nullable VersionType value)
      API name: version_type
    • self

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