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 Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTputResult(java.lang.String key, TValue value)Add a key/value toresult(Map), creating the map if needed.BuilderTresult(java.util.Map<java.lang.String,TValue> value)Response result.protected abstract BuilderTself()BuilderTtKeySerializer(JsonpSerializer<TKey> value)Serializer for TKey.BuilderTtValueSerializer(JsonpSerializer<TValue> value)Serializer for TValue.Methods 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
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
result
Response result. -
putResult
Add a key/value toresult(Map), creating the map if needed. -
tKeySerializer
Serializer for TKey. If not set, an attempt will be made to find a serializer from the JSON context. -
tValueSerializer
Serializer for TValue. If not set, an attempt will be made to find a serializer from the JSON context. -
self
-