Class MappingLimitSettingsTotalFields.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MappingLimitSettingsTotalFields.Builder>
co.elastic.clients.elasticsearch.indices.MappingLimitSettingsTotalFields.Builder
- All Implemented Interfaces:
WithJson<MappingLimitSettingsTotalFields.Builder>
,ObjectBuilder<MappingLimitSettingsTotalFields>
- Enclosing class:
- MappingLimitSettingsTotalFields
public static class MappingLimitSettingsTotalFields.Builder
extends WithJsonObjectBuilderBase<MappingLimitSettingsTotalFields.Builder>
implements ObjectBuilder<MappingLimitSettingsTotalFields>
Builder for
MappingLimitSettingsTotalFields
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aMappingLimitSettingsTotalFields
.The maximum number of fields in an index.protected MappingLimitSettingsTotalFields.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
limit
The maximum number of fields in an index. Field and object mappings, as well as field aliases count towards this limit. The limit is in place to prevent mappings and searches from becoming too large. Higher values can lead to performance degradations and memory issues, especially in clusters with a high load or few resources.API name:
limit
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<MappingLimitSettingsTotalFields.Builder>
-
build
Builds aMappingLimitSettingsTotalFields
.- Specified by:
build
in interfaceObjectBuilder<MappingLimitSettingsTotalFields>
- Throws:
NullPointerException
- if some of the required fields are null.
-