Class AllJobs.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.AllJobs.Builder
- All Implemented Interfaces:
ObjectBuilder<AllJobs>
- Enclosing class:
- AllJobs
public static class AllJobs.Builder extends ObjectBuilderBase implements ObjectBuilder<AllJobs>
Builder for
AllJobs
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AllJobs
build()
Builds aAllJobs
.AllJobs.Builder
count(int value)
Required - API name:count
AllJobs.Builder
createdBy(java.lang.String key, java.lang.String value)
Required - API name:created_by
AllJobs.Builder
createdBy(java.util.Map<java.lang.String,java.lang.String> map)
Required - API name:created_by
AllJobs.Builder
detectors(java.lang.String key, java.lang.Integer value)
Required - API name:detectors
AllJobs.Builder
detectors(java.util.Map<java.lang.String,java.lang.Integer> map)
Required - API name:detectors
AllJobs.Builder
forecasts(java.lang.String key, java.lang.Integer value)
Required - API name:forecasts
AllJobs.Builder
forecasts(java.util.Map<java.lang.String,java.lang.Integer> map)
Required - API name:forecasts
AllJobs.Builder
modelSize(java.lang.String key, java.lang.Integer value)
Required - API name:model_size
AllJobs.Builder
modelSize(java.util.Map<java.lang.String,java.lang.Integer> map)
Required - API name:model_size
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
-
count
Required - API name:count
-
detectors
Required - API name:detectors
Adds all entries of
map
todetectors
. -
detectors
Required - API name:detectors
Adds an entry to
detectors
. -
createdBy
Required - API name:created_by
Adds all entries of
map
tocreatedBy
. -
createdBy
Required - API name:created_by
Adds an entry to
createdBy
. -
modelSize
Required - API name:model_size
Adds all entries of
map
tomodelSize
. -
modelSize
Required - API name:model_size
Adds an entry to
modelSize
. -
forecasts
Required - API name:forecasts
Adds all entries of
map
toforecasts
. -
forecasts
Required - API name:forecasts
Adds an entry to
forecasts
. -
build
Builds aAllJobs
.- Specified by:
build
in interfaceObjectBuilder<AllJobs>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-