Class MappingLimitSettingsDepth
java.lang.Object
co.elastic.clients.elasticsearch.indices.MappingLimitSettingsDepth
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MappingLimitSettingsDepth extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MappingLimitSettingsDepth.Builder
Builder forMappingLimitSettingsDepth
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MappingLimitSettingsDepth>
_DESERIALIZER
Json deserializer forMappingLimitSettingsDepth
-
Method Summary
Modifier and Type Method Description java.lang.Integer
limit()
The maximum depth for a field, which is measured as the number of inner objects.static MappingLimitSettingsDepth
of(java.util.function.Function<MappingLimitSettingsDepth.Builder,ObjectBuilder<MappingLimitSettingsDepth>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMappingLimitSettingsDepthDeserializer(ObjectDeserializer<MappingLimitSettingsDepth.Builder> op)
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMappingLimitSettingsDepth
-
-
Method Details
-
of
public static MappingLimitSettingsDepth of(java.util.function.Function<MappingLimitSettingsDepth.Builder,ObjectBuilder<MappingLimitSettingsDepth>> fn) -
limit
@Nullable public final java.lang.Integer limit()The maximum depth for a field, which is measured as the number of inner objects. For instance, if all fields are defined at the root object level, then the depth is 1. If there is one object mapping, then the depth is 2, etc.API name:
limit
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
setupMappingLimitSettingsDepthDeserializer
protected static void setupMappingLimitSettingsDepthDeserializer(ObjectDeserializer<MappingLimitSettingsDepth.Builder> op)
-