Class JobUpdate
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.JobUpdate
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class JobUpdate extends Object implements ToXContentObject
POJO for updating an existing Machine LearningJob
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classJobUpdate.Builderstatic classJobUpdate.DetectorUpdate-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldDETECTORSstatic ConstructingObjectParser<JobUpdate.Builder,Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)BooleangetAllowLazyOpen()AnalysisLimitsgetAnalysisLimits()TimeValuegetBackgroundPersistInterval()List<String>getCategorizationFilters()Map<String,Object>getCustomSettings()StringgetDescription()List<JobUpdate.DetectorUpdate>getDetectorUpdates()List<String>getGroups()StringgetJobId()ModelPlotConfiggetModelPlotConfig()LonggetModelSnapshotRetentionDays()LonggetRenormalizationWindowDays()LonggetResultsRetentionDays()inthashCode()XContentBuildertoXContent(XContentBuilder builder, ToXContent.Params params)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentObject
isFragment
-
-
-
-
Field Detail
-
DETECTORS
public static final ParseField DETECTORS
-
PARSER
public static final ConstructingObjectParser<JobUpdate.Builder,Void> PARSER
-
-
Method Detail
-
getJobId
public String getJobId()
-
getDescription
public String getDescription()
-
getDetectorUpdates
public List<JobUpdate.DetectorUpdate> getDetectorUpdates()
-
getModelPlotConfig
public ModelPlotConfig getModelPlotConfig()
-
getAnalysisLimits
public AnalysisLimits getAnalysisLimits()
-
getRenormalizationWindowDays
public Long getRenormalizationWindowDays()
-
getBackgroundPersistInterval
public TimeValue getBackgroundPersistInterval()
-
getModelSnapshotRetentionDays
public Long getModelSnapshotRetentionDays()
-
getResultsRetentionDays
public Long getResultsRetentionDays()
-
getAllowLazyOpen
public Boolean getAllowLazyOpen()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
IOException
-
-