Class IndexField.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.mapping.IndexField.Builder
-
- All Implemented Interfaces:
ObjectBuilder<IndexField>
- Enclosing class:
- IndexField
public static class IndexField.Builder extends ObjectBuilderBase implements ObjectBuilder<IndexField>
Builder forIndexField.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexFieldbuild()Builds aIndexField.IndexField.Builderenabled(boolean value)Required - API name:enabled-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
enabled
public final IndexField.Builder enabled(boolean value)
Required - API name:enabled
-
build
public IndexField build()
Builds aIndexField.- Specified by:
buildin interfaceObjectBuilder<IndexField>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-