Interface UpdateLogAnomalyDetectorRequest.Builder

    • Method Detail

      • anomalyDetectorArn

        UpdateLogAnomalyDetectorRequest.Builder anomalyDetectorArn​(String anomalyDetectorArn)

        The ARN of the anomaly detector that you want to update.

        Parameters:
        anomalyDetectorArn - The ARN of the anomaly detector that you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • evaluationFrequency

        UpdateLogAnomalyDetectorRequest.Builder evaluationFrequency​(String evaluationFrequency)

        Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.

        Parameters:
        evaluationFrequency - Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EvaluationFrequency, EvaluationFrequency
      • evaluationFrequency

        UpdateLogAnomalyDetectorRequest.Builder evaluationFrequency​(EvaluationFrequency evaluationFrequency)

        Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.

        Parameters:
        evaluationFrequency - Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting evaluationFrequency to FIFTEEN_MIN might be appropriate.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        EvaluationFrequency, EvaluationFrequency
      • filterPattern

        UpdateLogAnomalyDetectorRequest.Builder filterPattern​(String 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.
      • anomalyVisibilityTime

        UpdateLogAnomalyDetectorRequest.Builder anomalyVisibilityTime​(Long anomalyVisibilityTime)

        The number of days to use 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. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.

        Parameters:
        anomalyVisibilityTime - The number of days to use 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. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enabled

        UpdateLogAnomalyDetectorRequest.Builder enabled​(Boolean enabled)

        Use this parameter to pause or restart the anomaly detector.

        Parameters:
        enabled - Use this parameter to pause or restart the anomaly detector.
        Returns:
        Returns a reference to this object so that method calls can be chained together.