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