Class DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT extends DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>>

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.transport.endpoints.DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>
Enclosing class:
DictionaryResponse<TKey,TValue>

protected abstract static class DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT extends DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>> extends ObjectBuilderBase
  • Constructor Details

    • AbstractBuilder

      protected AbstractBuilder()
  • Method Details

    • result

      public BuilderT result(Map<String,TValue> value)
      Response result.
    • putResult

      public BuilderT putResult(String key, TValue value)
      Add a key/value to result(Map), creating the map if needed.
    • tKeySerializer

      public BuilderT tKeySerializer(@Nullable JsonpSerializer<TKey> value)
      Serializer for TKey. If not set, an attempt will be made to find a serializer from the JSON context.
    • tValueSerializer

      public BuilderT tValueSerializer(@Nullable JsonpSerializer<TValue> value)
      Serializer for TValue. If not set, an attempt will be made to find a serializer from the JSON context.
    • self

      protected abstract BuilderT self()