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 -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFlushJobResponse.final FlushJobResponse.Builderflushed(boolean value) Required - API name:flushedfinal FlushJobResponse.BuilderlastFinalizedBucketEnd(Integer value) Provides the timestamp (in milliseconds since the epoch) of the end of the last bucket that was processed.protected FlushJobResponse.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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:
selfin classWithJsonObjectBuilderBase<FlushJobResponse.Builder>
-
build
Builds aFlushJobResponse.- Specified by:
buildin interfaceObjectBuilder<FlushJobResponse>- Throws:
NullPointerException- if some of the required fields are null.
-