Interface GetLogAnomalyDetectorResponse.Builder

  • Method Details

    • detectorName

      GetLogAnomalyDetectorResponse.Builder detectorName(String detectorName)

      The name of the log anomaly detector

      Parameters:
      detectorName - The name of the log anomaly detector
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupArnList

      GetLogAnomalyDetectorResponse.Builder logGroupArnList(Collection<String> logGroupArnList)

      An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.

      Parameters:
      logGroupArnList - An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupArnList

      GetLogAnomalyDetectorResponse.Builder logGroupArnList(String... logGroupArnList)

      An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.

      Parameters:
      logGroupArnList - An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationFrequency

      GetLogAnomalyDetectorResponse.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

      GetLogAnomalyDetectorResponse.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:
    • filterPattern

      GetLogAnomalyDetectorResponse.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.
    • anomalyDetectorStatus

      GetLogAnomalyDetectorResponse.Builder anomalyDetectorStatus(String anomalyDetectorStatus)

      Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.

      Parameters:
      anomalyDetectorStatus - Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • anomalyDetectorStatus

      GetLogAnomalyDetectorResponse.Builder anomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)

      Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.

      Parameters:
      anomalyDetectorStatus - Specifies whether the anomaly detector is currently active. To change its status, use the enabled parameter in the UpdateLogAnomalyDetector operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • kmsKeyId

      The ARN of the KMS key assigned to this anomaly detector, if any.

      Parameters:
      kmsKeyId - The ARN 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

      GetLogAnomalyDetectorResponse.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

      GetLogAnomalyDetectorResponse.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

      GetLogAnomalyDetectorResponse.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.