Class FlushJobResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FlushJobResponse.Builder>
co.elastic.clients.elasticsearch.ml.FlushJobResponse.Builder
- All Implemented Interfaces:
WithJson<FlushJobResponse.Builder>
,ObjectBuilder<FlushJobResponse>
- Enclosing class:
- FlushJobResponse
public static class FlushJobResponse.Builder extends WithJsonObjectBuilderBase<FlushJobResponse.Builder> implements ObjectBuilder<FlushJobResponse>
Builder for
FlushJobResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FlushJobResponse
build()
Builds aFlushJobResponse
.FlushJobResponse.Builder
flushed(boolean value)
Required - API name:flushed
FlushJobResponse.Builder
lastFinalizedBucketEnd(java.lang.Integer value)
Provides the timestamp (in milliseconds since the epoch) of the end of the last bucket that was processed.protected FlushJobResponse.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
flushed
Required - API name:flushed
-
lastFinalizedBucketEnd
Provides the timestamp (in milliseconds since the epoch) of the end of the last bucket that was processed.API name:
last_finalized_bucket_end
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<FlushJobResponse.Builder>
-
build
Builds aFlushJobResponse
.- Specified by:
build
in interfaceObjectBuilder<FlushJobResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-