Package org.opensearch.client.json
Class UnionDeserializer.Builder<Union,Kind,Member>
- java.lang.Object
-
- org.opensearch.client.json.UnionDeserializer.Builder<Union,Kind,Member>
-
- All Implemented Interfaces:
ObjectBuilder<JsonpDeserializer<Union>>
- Enclosing class:
- UnionDeserializer<Union,Kind,Member>
public static class UnionDeserializer.Builder<Union,Kind,Member> extends java.lang.Object implements ObjectBuilder<JsonpDeserializer<Union>>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UnionDeserializer.Builder<Union,Kind,Member>
addMember(Kind tag, JsonpDeserializer<? extends Member> deserializer)
JsonpDeserializer<Union>
build()
-
-
-
Method Detail
-
addMember
public UnionDeserializer.Builder<Union,Kind,Member> addMember(Kind tag, JsonpDeserializer<? extends Member> deserializer)
-
build
public JsonpDeserializer<Union> build()
- Specified by:
build
in interfaceObjectBuilder<Union>
-
-