Class SourceRuntimeMapping.Builder
java.lang.Object
co.elastic.clients.elasticsearch.core.reindex.SourceRuntimeMapping.Builder
- All Implemented Interfaces:
ObjectBuilder<SourceRuntimeMapping>
- Enclosing class:
- SourceRuntimeMapping
public static class SourceRuntimeMapping.Builder extends java.lang.Object implements ObjectBuilder<SourceRuntimeMapping>
Builder for
SourceRuntimeMapping.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SourceRuntimeMappingbuild()Builds aSourceRuntimeMapping.SourceRuntimeMapping.Builderscript(java.lang.String value)API name:scriptSourceRuntimeMapping.Buildertype(java.lang.String value)Required - API name:typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Required - API name:type -
script
API name:script -
build
Builds aSourceRuntimeMapping.- Specified by:
buildin interfaceObjectBuilder<SourceRuntimeMapping>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-