Class HistogramProperty.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.mapping.PropertyBase.AbstractBuilder<HistogramProperty.Builder>
org.opensearch.client.opensearch._types.mapping.HistogramProperty.Builder
- All Implemented Interfaces:
CopyableBuilder<HistogramProperty.Builder,,HistogramProperty> MutableBuilder<HistogramProperty.Builder,,HistogramProperty> ObjectBuilder<HistogramProperty>
- Enclosing class:
HistogramProperty
public static class HistogramProperty.Builder
extends PropertyBase.AbstractBuilder<HistogramProperty.Builder>
implements CopyableBuilder<HistogramProperty.Builder,HistogramProperty>
Builder for
HistogramProperty.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHistogramProperty.copy()Create a new builderCopyableBuilderthat is a copy of this one.ignoreMalformed(Boolean value) API name:ignore_malformedprotected HistogramProperty.Builderself()Methods 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<HistogramProperty.Builder,HistogramProperty> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classPropertyBase.AbstractBuilder<HistogramProperty.Builder>
-
ignoreMalformed
API name:ignore_malformed -
build
Builds aHistogramProperty.- Specified by:
buildin interfaceObjectBuilder<HistogramProperty>- Throws:
NullPointerException- if some of the required fields are null.
-