Class NestedProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<NestedProperty.Builder>
org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder<NestedProperty.Builder>
org.opensearch.client.opensearch._types.mapping.NestedProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<NestedProperty.Builder,,NestedProperty> MutableBuilder<NestedProperty.Builder,,NestedProperty> ObjectBuilder<NestedProperty>
- Enclosing class:
NestedProperty
public static class NestedProperty.Builder
extends CorePropertyBase.AbstractBuilder<NestedProperty.Builder>
implements CopyableBuilder<NestedProperty.Builder,NestedProperty>
Builder for
NestedProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aNestedProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.final NestedProperty.BuilderAPI name:enabledfinal NestedProperty.BuilderincludeInParent(Boolean value) API name:include_in_parentfinal NestedProperty.BuilderincludeInRoot(Boolean value) API name:include_in_rootprotected NestedProperty.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.mapping.CorePropertyBase.AbstractBuilder
copyTo, copyTo, similarity, storeMethods inherited from class org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder
dynamic, fields, fields, fields, ignoreAbove, meta, meta, properties, properties, propertiesMethods 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<NestedProperty.Builder,NestedProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<NestedProperty.Builder>
-
enabled
API name:enabled -
includeInParent
API name:include_in_parent -
includeInRoot
API name:include_in_root -
build
Builds aNestedProperty.- Specified by:
buildin interfaceObjectBuilder<NestedProperty>- Throws:
NullPointerException- if some of the required fields are null.
-