Interface AnomalyDetector.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalyDetector.Builder,
,AnomalyDetector> SdkBuilder<AnomalyDetector.Builder,
,AnomalyDetector> SdkPojo
- Enclosing class:
AnomalyDetector
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) The ARN of the anomaly detector.anomalyDetectorStatus
(String anomalyDetectorStatus) Specifies the current status of the anomaly detector.anomalyDetectorStatus
(AnomalyDetectorStatus anomalyDetectorStatus) Specifies the current status of the anomaly detector.anomalyVisibilityTime
(Long anomalyVisibilityTime) The number of days used as the life cycle of anomalies.creationTimeStamp
(Long creationTimeStamp) The date and time when this anomaly detector was created.detectorName
(String detectorName) The name of the anomaly detector.evaluationFrequency
(String evaluationFrequency) Specifies how often the anomaly detector runs and look for anomalies.evaluationFrequency
(EvaluationFrequency evaluationFrequency) Specifies how often the anomaly detector runs and look for anomalies.filterPattern
(String filterPattern) Sets the value of the FilterPattern property for this object.The ID of the KMS key assigned to this anomaly detector, if any.lastModifiedTimeStamp
(Long lastModifiedTimeStamp) The date and time when this anomaly detector was most recently modified.logGroupArnList
(String... logGroupArnList) A list of the ARNs of the log groups that this anomaly detector watches.logGroupArnList
(Collection<String> logGroupArnList) A list of the ARNs of the log groups that this anomaly detector watches.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
anomalyDetectorArn
The ARN of the anomaly detector.
- Parameters:
anomalyDetectorArn
- The ARN of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorName
The name of the anomaly detector.
- Parameters:
detectorName
- The name of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArnList
A list of the ARNs of the log groups that this anomaly detector watches.
- Parameters:
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArnList
A list of the ARNs of the log groups that this anomaly detector watches.
- Parameters:
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFrequency
Specifies how often the anomaly detector runs and look for anomalies.
- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationFrequency
Specifies how often the anomaly detector runs and look for anomalies.
- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterPattern
Sets the value of the FilterPattern property for this object.- Parameters:
filterPattern
- The new value for the FilterPattern property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorStatus
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.- Parameters:
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use theenabled
parameter in the UpdateLogAnomalyDetector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
anomalyDetectorStatus
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.- Parameters:
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use theenabled
parameter in the UpdateLogAnomalyDetector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKeyId
The ID of the KMS key assigned to this anomaly detector, if any.
- Parameters:
kmsKeyId
- The ID of the KMS key assigned to this anomaly detector, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeStamp
The date and time when this anomaly detector was created.
- Parameters:
creationTimeStamp
- The date and time when this anomaly detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeStamp
The date and time when this anomaly detector was most recently modified.
- Parameters:
lastModifiedTimeStamp
- The date and time when this anomaly detector was most recently modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyVisibilityTime
The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal.
- Parameters:
anomalyVisibilityTime
- The number of days used as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-