Class IndexSettingsMappingLimitDepth.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.IndexSettingsMappingLimitDepth.Builder
- All Implemented Interfaces:
CopyableBuilder<IndexSettingsMappingLimitDepth.Builder,,IndexSettingsMappingLimitDepth> MutableBuilder<IndexSettingsMappingLimitDepth.Builder,,IndexSettingsMappingLimitDepth> ObjectBuilder<IndexSettingsMappingLimitDepth>
- Enclosing class:
IndexSettingsMappingLimitDepth
public static class IndexSettingsMappingLimitDepth.Builder
extends ObjectBuilderBase
implements CopyableBuilder<IndexSettingsMappingLimitDepth.Builder,IndexSettingsMappingLimitDepth>
Builder for
IndexSettingsMappingLimitDepth.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aIndexSettingsMappingLimitDepth.copy()Create a new builderCopyableBuilderthat is a copy of this one.The maximum depth for a field, which is measured as the number of inner objects.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<IndexSettingsMappingLimitDepth.Builder,IndexSettingsMappingLimitDepth> - Returns:
- a new builder instance.
-
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 is1. If there is one object mapping, then the depth is2.API name:
limit -
build
Builds aIndexSettingsMappingLimitDepth.- Specified by:
buildin interfaceObjectBuilder<IndexSettingsMappingLimitDepth>- Throws:
NullPointerException- if some of the required fields are null.
-