Class Invocation.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.slm.Invocation.Builder
- All Implemented Interfaces:
ObjectBuilder<Invocation>
- Enclosing class:
- Invocation
public static class Invocation.Builder extends ObjectBuilderBase implements ObjectBuilder<Invocation>
Builder for
Invocation
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Invocation
build()
Builds aInvocation
.Invocation.Builder
snapshotName(java.lang.String value)
Required - API name:snapshot_name
Invocation.Builder
time(DateTime value)
Required - API name:time
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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
-
snapshotName
Required - API name:snapshot_name
-
time
Required - API name:time
-
build
Builds aInvocation
.- Specified by:
build
in interfaceObjectBuilder<Invocation>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-