Class GetJobsResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.rollup.GetJobsResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<GetJobsResponse>
- Enclosing class:
- GetJobsResponse
public static class GetJobsResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<GetJobsResponse>
Builder for
GetJobsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetJobsResponsebuild()Builds aGetJobsResponse.GetJobsResponse.Builderjobs(RollupJob value, RollupJob... values)Required - API name:jobsGetJobsResponse.Builderjobs(java.util.function.Function<RollupJob.Builder,ObjectBuilder<RollupJob>> fn)Required - API name:jobsGetJobsResponse.Builderjobs(java.util.List<RollupJob> list)Required - API name:jobsMethods 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
-
jobs
Required - API name:jobsAdds all elements of
listtojobs. -
jobs
Required - API name:jobsAdds one or more values to
jobs. -
jobs
public final GetJobsResponse.Builder jobs(java.util.function.Function<RollupJob.Builder,ObjectBuilder<RollupJob>> fn)Required - API name:jobsAdds a value to
jobsusing a builder lambda. -
build
Builds aGetJobsResponse.- Specified by:
buildin interfaceObjectBuilder<GetJobsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-