Class SimulateTemplateResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.indices.SimulateTemplateResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<SimulateTemplateResponse>
- Enclosing class:
- SimulateTemplateResponse
public static class SimulateTemplateResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<SimulateTemplateResponse>
Builder for
SimulateTemplateResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description SimulateTemplateResponsebuild()Builds aSimulateTemplateResponse.SimulateTemplateResponse.Buildertemplate(Template value)Required - API name:templateSimulateTemplateResponse.Buildertemplate(java.util.function.Function<Template.Builder,ObjectBuilder<Template>> fn)Required - API name:templateMethods 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
-
template
Required - API name:template -
template
public final SimulateTemplateResponse.Builder template(java.util.function.Function<Template.Builder,ObjectBuilder<Template>> fn)Required - API name:template -
build
Builds aSimulateTemplateResponse.- Specified by:
buildin interfaceObjectBuilder<SimulateTemplateResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-