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 Learning
Job
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JobUpdate.Builder
static class
JobUpdate.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 ParseField
DETECTORS
static ConstructingObjectParser<JobUpdate.Builder,java.lang.Void>
PARSER
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.lang.Boolean
getAllowLazyOpen()
AnalysisLimits
getAnalysisLimits()
TimeValue
getBackgroundPersistInterval()
java.util.List<java.lang.String>
getCategorizationFilters()
java.util.Map<java.lang.String,java.lang.Object>
getCustomSettings()
java.lang.String
getDescription()
java.util.List<JobUpdate.DetectorUpdate>
getDetectorUpdates()
java.util.List<java.lang.String>
getGroups()
java.lang.String
getJobId()
ModelPlotConfig
getModelPlotConfig()
java.lang.Long
getModelSnapshotRetentionDays()
java.lang.Long
getRenormalizationWindowDays()
java.lang.Long
getResultsRetentionDays()
int
hashCode()
XContentBuilder
toXContent(XContentBuilder builder, ToXContent.Params params)
-
Field Details
-
Method Details
-
getJobId
public java.lang.String getJobId() -
getGroups
public java.util.List<java.lang.String> getGroups() -
getDescription
public java.lang.String getDescription() -
getDetectorUpdates
-
getModelPlotConfig
-
getAnalysisLimits
-
getRenormalizationWindowDays
public java.lang.Long getRenormalizationWindowDays() -
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() -
getAllowLazyOpen
public java.lang.Boolean getAllowLazyOpen() -
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException- Specified by:
toXContent
in interfaceToXContent
- Throws:
java.io.IOException
-
equals
public boolean equals(java.lang.Object other)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-