Package org.opensearch.client.base
Class AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT extends AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT>>
java.lang.Object
org.opensearch.client.base.AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT>
- Direct Known Subclasses:
FlushSyncedResponse.Builder,GetAliasResponse.Builder,GetFieldMappingResponse.Builder,GetMappingResponse.Builder,GetPipelineResponse.Builder,GetRepositoryResponse.Builder,GetResponse.Builder,GetSettingsResponse.Builder,GetTemplateResponse.Builder,RecoveryResponse.Builder,RemoteInfoResponse.Builder
- Enclosing class:
- AdditionalProperties<TKey,TValue>
protected abstract static class AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT extends AdditionalProperties.AbstractBuilder<TKey,TValue,BuilderT>>
extends java.lang.Object
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder() -
Method Summary
Modifier and Type Method Description BuilderTputValue(java.lang.String key, TValue value)Add a key/value tovalue(Map), creating the map if needed.protected abstract BuilderTself()BuilderTtKeySerializer(JsonpSerializer<TKey> value)Serializer for TKey.BuilderTtValueSerializer(JsonpSerializer<TValue> value)Serializer for TValue.BuilderTvalue(java.util.Map<java.lang.String,TValue> value)Response value.
-
Constructor Details
-
AbstractBuilder
protected AbstractBuilder()
-
-
Method Details
-
value
Response value. API name:value -
putValue
Add a key/value tovalue(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
-