Class RuntimeField.Builder
java.lang.Object
org.opensearch.client.opensearch._types.mapping.RuntimeField.Builder
- All Implemented Interfaces:
ObjectBuilder<RuntimeField>
- Enclosing class:
- RuntimeField
public static class RuntimeField.Builder extends java.lang.Object implements ObjectBuilder<RuntimeField>
Builder for
RuntimeField.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RuntimeFieldbuild()Builds aRuntimeField.RuntimeField.Builderformat(java.lang.String value)API name:formatRuntimeField.Builderscript(jakarta.json.JsonValue value)API name:scriptRuntimeField.Buildertype(jakarta.json.JsonValue value)API name:type
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
format
API name:format -
script
API name:script -
type
API name:type -
build
Builds aRuntimeField.- Specified by:
buildin interfaceObjectBuilder<RuntimeField>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-