Class JobUpdate
- java.lang.Object
-
- org.elasticsearch.client.ml.job.config.JobUpdate
-
- All Implemented Interfaces:
ToXContent,ToXContentObject
public class JobUpdate extends java.lang.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,java.lang.Void>PARSER-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)AnalysisLimitsgetAnalysisLimits()TimeValuegetBackgroundPersistInterval()java.util.List<java.lang.String>getCategorizationFilters()java.util.Map<java.lang.String,java.lang.Object>getCustomSettings()java.lang.StringgetDescription()java.util.List<JobUpdate.DetectorUpdate>getDetectorUpdates()java.util.List<java.lang.String>getGroups()java.lang.StringgetJobId()ModelPlotConfiggetModelPlotConfig()java.lang.LonggetModelSnapshotRetentionDays()java.lang.LonggetRenormalizationWindowDays()java.lang.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,java.lang.Void> PARSER
-
-
Method Detail
-
getJobId
public java.lang.String getJobId()
-
getGroups
public java.util.List<java.lang.String> getGroups()
-
getDescription
public java.lang.String getDescription()
-
getDetectorUpdates
public java.util.List<JobUpdate.DetectorUpdate> getDetectorUpdates()
-
getModelPlotConfig
public ModelPlotConfig getModelPlotConfig()
-
getAnalysisLimits
public AnalysisLimits getAnalysisLimits()
-
getRenormalizationWindowDays
public java.lang.Long getRenormalizationWindowDays()
-
getBackgroundPersistInterval
public TimeValue getBackgroundPersistInterval()
-
getModelSnapshotRetentionDays
public java.lang.Long getModelSnapshotRetentionDays()
-
getResultsRetentionDays
public java.lang.Long getResultsRetentionDays()
-
getCategorizationFilters
public java.util.List<java.lang.String> getCategorizationFilters()
-
getCustomSettings
public java.util.Map<java.lang.String,java.lang.Object> getCustomSettings()
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
toXContentin interfaceToXContent- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-