Class DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT extends DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>>
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.transport.endpoints.DictionaryResponse.AbstractBuilder<TKey,TValue,BuilderT>
-
- Direct Known Subclasses:
GetAliasResponse.Builder,GetFieldMappingResponse.Builder,GetIndexResponse.Builder,GetIndicesSettingsResponse.Builder,GetMappingResponse.Builder,GetPipelineResponse.Builder,GetRepositoryResponse.Builder,GetTemplateResponse.Builder,RecoveryResponse.Builder,RemoteInfoResponse.Builder
- 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
All Methods Instance Methods Abstract Methods Concrete Methods 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 org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
putResult
public BuilderT putResult(java.lang.String key, TValue value)
Add a key/value toresult(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()
-
-