Interface LogAnomalyClass.Builder

All Superinterfaces:
Buildable, CopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>, SdkBuilder<LogAnomalyClass.Builder,LogAnomalyClass>, SdkPojo
Enclosing class:
LogAnomalyClass

public static interface LogAnomalyClass.Builder extends SdkPojo, CopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>
  • Method Details

    • logStreamName

      LogAnomalyClass.Builder logStreamName(String logStreamName)

      The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.

      Parameters:
      logStreamName - The name of the Amazon CloudWatch log stream that the anomalous log event belongs to. A log stream is a sequence of log events that share the same source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logAnomalyType

      LogAnomalyClass.Builder logAnomalyType(String logAnomalyType)

      The type of log anomaly that has been detected.

      Parameters:
      logAnomalyType - The type of log anomaly that has been detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logAnomalyType

      LogAnomalyClass.Builder logAnomalyType(LogAnomalyType logAnomalyType)

      The type of log anomaly that has been detected.

      Parameters:
      logAnomalyType - The type of log anomaly that has been detected.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • logAnomalyToken

      LogAnomalyClass.Builder logAnomalyToken(String logAnomalyToken)

      The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.

      Parameters:
      logAnomalyToken - The token where the anomaly was detected. This may refer to an exception or another location, or it may be blank for log anomalies such as format anomalies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logEventId

      LogAnomalyClass.Builder logEventId(String logEventId)

      The ID of the log event.

      Parameters:
      logEventId - The ID of the log event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • explanation

      LogAnomalyClass.Builder explanation(String explanation)

      The explanation for why the log event is considered an anomaly.

      Parameters:
      explanation - The explanation for why the log event is considered an anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • numberOfLogLinesOccurrences

      LogAnomalyClass.Builder numberOfLogLinesOccurrences(Integer numberOfLogLinesOccurrences)

      The number of log lines where this anomalous log event occurs.

      Parameters:
      numberOfLogLinesOccurrences - The number of log lines where this anomalous log event occurs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logEventTimestamp

      LogAnomalyClass.Builder logEventTimestamp(Instant logEventTimestamp)

      The time of the first occurrence of the anomalous log event.

      Parameters:
      logEventTimestamp - The time of the first occurrence of the anomalous log event.
      Returns:
      Returns a reference to this object so that method calls can be chained together.