Class MlInferenceIngestProcessorCount.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<MlInferenceIngestProcessorCount.Builder>
co.elastic.clients.elasticsearch.xpack.usage.MlInferenceIngestProcessorCount.Builder
- All Implemented Interfaces:
WithJson<MlInferenceIngestProcessorCount.Builder>
,ObjectBuilder<MlInferenceIngestProcessorCount>
- Enclosing class:
- MlInferenceIngestProcessorCount
public static class MlInferenceIngestProcessorCount.Builder extends WithJsonObjectBuilderBase<MlInferenceIngestProcessorCount.Builder> implements ObjectBuilder<MlInferenceIngestProcessorCount>
Builder for
MlInferenceIngestProcessorCount
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description MlInferenceIngestProcessorCount
build()
Builds aMlInferenceIngestProcessorCount
.MlInferenceIngestProcessorCount.Builder
max(long value)
Required - API name:max
MlInferenceIngestProcessorCount.Builder
min(long value)
Required - API name:min
protected MlInferenceIngestProcessorCount.Builder
self()
MlInferenceIngestProcessorCount.Builder
sum(long value)
Required - API name:sum
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
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
-
max
Required - API name:max
-
sum
Required - API name:sum
-
min
Required - API name:min
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<MlInferenceIngestProcessorCount.Builder>
-
build
Builds aMlInferenceIngestProcessorCount
.- Specified by:
build
in interfaceObjectBuilder<MlInferenceIngestProcessorCount>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-