Interface AnomalyDetector.Builder

    • Method Detail

      • anomalyDetectorArn

        AnomalyDetector.Builder anomalyDetectorArn​(String 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

        AnomalyDetector.Builder detectorName​(String 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

        AnomalyDetector.Builder logGroupArnList​(Collection<String> 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

        AnomalyDetector.Builder logGroupArnList​(String... 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

        AnomalyDetector.Builder evaluationFrequency​(String 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, EvaluationFrequency
      • evaluationFrequency

        AnomalyDetector.Builder evaluationFrequency​(EvaluationFrequency 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, EvaluationFrequency
      • filterPattern

        AnomalyDetector.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.
      • kmsKeyId

        AnomalyDetector.Builder kmsKeyId​(String 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

        AnomalyDetector.Builder creationTimeStamp​(Long 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

        AnomalyDetector.Builder lastModifiedTimeStamp​(Long 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

        AnomalyDetector.Builder anomalyVisibilityTime​(Long 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.