Class Invocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Invocation.Builder>
co.elastic.clients.elasticsearch.slm.Invocation.Builder
- All Implemented Interfaces:
WithJson<Invocation.Builder>,ObjectBuilder<Invocation>
- Enclosing class:
- Invocation
public static class Invocation.Builder extends WithJsonObjectBuilderBase<Invocation.Builder> implements ObjectBuilder<Invocation>
Builder for
Invocation.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Invocationbuild()Builds aInvocation.protected Invocation.Builderself()Invocation.BuildersnapshotName(java.lang.String value)Required - API name:snapshot_nameInvocation.Buildertime(java.lang.String value)Required - API name:timeMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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
-
snapshotName
Required - API name:snapshot_name -
time
Required - API name:time -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Invocation.Builder>
-
build
Builds aInvocation.- Specified by:
buildin interfaceObjectBuilder<Invocation>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-