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 SourceRuntimeMapping
build()
Builds aSourceRuntimeMapping
.SourceRuntimeMapping.Builder
script(java.lang.String value)
API name:script
SourceRuntimeMapping.Builder
type(java.lang.String value)
Required - API name:type
Methods 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:
build
in interfaceObjectBuilder<SourceRuntimeMapping>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-