Class EnrichPolicy
java.lang.Object
co.elastic.clients.elasticsearch.enrich.EnrichPolicy
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class EnrichPolicy extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEnrichPolicy.BuilderBuilder forEnrichPolicy. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<EnrichPolicy>_DESERIALIZERJson deserializer forEnrichPolicy -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>enrichFields()Required - API name:enrich_fieldsjava.util.List<java.lang.String>indices()Required - API name:indicesjava.lang.StringmatchField()Required - API name:match_fieldjava.lang.Stringname()API name:namestatic EnrichPolicyof(java.util.function.Function<EnrichPolicy.Builder,ObjectBuilder<EnrichPolicy>> fn)java.lang.Stringquery()API name:queryvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupEnrichPolicyDeserializer(ObjectDeserializer<EnrichPolicy.Builder> op)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forEnrichPolicy
-
-
Method Details
-
of
public static EnrichPolicy of(java.util.function.Function<EnrichPolicy.Builder,ObjectBuilder<EnrichPolicy>> fn) -
enrichFields
public final java.util.List<java.lang.String> enrichFields()Required - API name:enrich_fields -
indices
public final java.util.List<java.lang.String> indices()Required - API name:indices -
matchField
public final java.lang.String matchField()Required - API name:match_field -
query
@Nullable public final java.lang.String query()API name:query -
name
@Nullable public final java.lang.String name()API name:name -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupEnrichPolicyDeserializer
-