Class RollupJob.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RollupJob.Builder>
co.elastic.clients.elasticsearch.rollup.get_jobs.RollupJob.Builder
- All Implemented Interfaces:
WithJson<RollupJob.Builder>
,ObjectBuilder<RollupJob>
- Enclosing class:
- RollupJob
public static class RollupJob.Builder
extends WithJsonObjectBuilderBase<RollupJob.Builder>
implements ObjectBuilder<RollupJob>
Builder for
RollupJob
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aRollupJob
.final RollupJob.Builder
config
(RollupJobConfiguration value) Required - API name:config
final RollupJob.Builder
Required - API name:config
protected RollupJob.Builder
self()
final RollupJob.Builder
stats
(RollupJobStats value) Required - API name:stats
final RollupJob.Builder
Required - API name:stats
final RollupJob.Builder
status
(RollupJobStatus value) Required - API name:status
final RollupJob.Builder
Required - API name:status
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
config
Required - API name:config
-
config
public final RollupJob.Builder config(Function<RollupJobConfiguration.Builder, ObjectBuilder<RollupJobConfiguration>> fn) Required - API name:config
-
stats
Required - API name:stats
-
stats
public final RollupJob.Builder stats(Function<RollupJobStats.Builder, ObjectBuilder<RollupJobStats>> fn) Required - API name:stats
-
status
Required - API name:status
-
status
public final RollupJob.Builder status(Function<RollupJobStatus.Builder, ObjectBuilder<RollupJobStatus>> fn) Required - API name:status
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RollupJob.Builder>
-
build
Builds aRollupJob
.- Specified by:
build
in interfaceObjectBuilder<RollupJob>
- Throws:
NullPointerException
- if some of the required fields are null.
-