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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanalysisConfig(AnalysisConfig value) For a list of the properties that you can specify in theanalysis_configcomponent of the body of this API.For a list of the properties that you can specify in theanalysis_configcomponent 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.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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_configcomponent 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_configcomponent 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 asinfluencershas no effect on the estimation.API name:
max_bucket_cardinalityAdds all entries of
maptomaxBucketCardinality. -
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 asinfluencershas no effect on the estimation.API name:
max_bucket_cardinalityAdds 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_nameandpartition_field_nameof 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_nameorpartition_field_name.API name:
overall_cardinalityAdds all entries of
maptooverallCardinality. -
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_nameandpartition_field_nameof 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_nameorpartition_field_name.API name:
overall_cardinalityAdds an entry to
overallCardinality. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<EstimateModelMemoryRequest.Builder>
-
build
Builds aEstimateModelMemoryRequest.- Specified by:
buildin interfaceObjectBuilder<EstimateModelMemoryRequest>- Throws:
NullPointerException- if some of the required fields are null.
-