Class IndexField.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch._types.mapping.IndexField.Builder
- All Implemented Interfaces:
ObjectBuilder<IndexField>
- Enclosing class:
- IndexField
public static class IndexField.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexField>
Builder for
IndexField.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description IndexFieldbuild()Builds aIndexField.IndexField.Builderenabled(boolean value)Required - API name:enabledMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Required - API name:enabled -
build
Builds aIndexField.- Specified by:
buildin interfaceObjectBuilder<IndexField>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-