Class EstimateModelMemoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<EstimateModelMemoryRequest.Builder>
co.elastic.clients.elasticsearch.ml.EstimateModelMemoryRequest.Builder
- All Implemented Interfaces:
WithJson<EstimateModelMemoryRequest.Builder>
,ObjectBuilder<EstimateModelMemoryRequest>
- Enclosing class:
- EstimateModelMemoryRequest
public static class EstimateModelMemoryRequest.Builder
extends RequestBase.AbstractBuilder<EstimateModelMemoryRequest.Builder>
implements ObjectBuilder<EstimateModelMemoryRequest>
Builder for
EstimateModelMemoryRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionanalysisConfig
(AnalysisConfig value) For a list of the properties that you can specify in theanalysis_config
component of the body of this API.For a list of the properties that you can specify in theanalysis_config
component of the body of this API.build()
Builds aEstimateModelMemoryRequest
.maxBucketCardinality
(String key, Long value) Estimates of the highest cardinality in a single bucket that is observed for influencer fields over the time period that the job analyzes data.maxBucketCardinality
(Map<String, Long> map) Estimates of the highest cardinality in a single bucket that is observed for influencer fields over the time period that the job analyzes data.overallCardinality
(String key, Long value) Estimates of the cardinality that is observed for fields over the whole time period that the job analyzes data.overallCardinality
(Map<String, Long> map) Estimates of the cardinality that is observed for fields over the whole time period that the job analyzes data.protected EstimateModelMemoryRequest.Builder
self()
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
-
analysisConfig
For a list of the properties that you can specify in theanalysis_config
component of the body of this API.API name:
analysis_config
-
analysisConfig
public final EstimateModelMemoryRequest.Builder analysisConfig(Function<AnalysisConfig.Builder, ObjectBuilder<AnalysisConfig>> fn) For a list of the properties that you can specify in theanalysis_config
component of the body of this API.API name:
analysis_config
-
maxBucketCardinality
Estimates of the highest cardinality in a single bucket that is observed for influencer fields over the time period that the job analyzes data. To produce a good answer, values must be provided for all influencer fields. Providing values for fields that are not listed asinfluencers
has no effect on the estimation.API name:
max_bucket_cardinality
Adds all entries of
map
tomaxBucketCardinality
. -
maxBucketCardinality
Estimates of the highest cardinality in a single bucket that is observed for influencer fields over the time period that the job analyzes data. To produce a good answer, values must be provided for all influencer fields. Providing values for fields that are not listed asinfluencers
has no effect on the estimation.API name:
max_bucket_cardinality
Adds an entry to
maxBucketCardinality
. -
overallCardinality
Estimates of the cardinality that is observed for fields over the whole time period that the job analyzes data. To produce a good answer, values must be provided for fields referenced in theby_field_name
,over_field_name
andpartition_field_name
of any detectors. Providing values for other fields has no effect on the estimation. It can be omitted from the request if no detectors have aby_field_name
,over_field_name
orpartition_field_name
.API name:
overall_cardinality
Adds all entries of
map
tooverallCardinality
. -
overallCardinality
Estimates of the cardinality that is observed for fields over the whole time period that the job analyzes data. To produce a good answer, values must be provided for fields referenced in theby_field_name
,over_field_name
andpartition_field_name
of any detectors. Providing values for other fields has no effect on the estimation. It can be omitted from the request if no detectors have aby_field_name
,over_field_name
orpartition_field_name
.API name:
overall_cardinality
Adds an entry to
overallCardinality
. -
self
- Specified by:
self
in classRequestBase.AbstractBuilder<EstimateModelMemoryRequest.Builder>
-
build
Builds aEstimateModelMemoryRequest
.- Specified by:
build
in interfaceObjectBuilder<EstimateModelMemoryRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-