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