public static interface LogAnomalyClass.Builder extends SdkPojo, CopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>
| Modifier and Type | Method and Description |
|---|---|
LogAnomalyClass.Builder |
explanation(String explanation)
The explanation for why the log event is considered an anomaly.
|
LogAnomalyClass.Builder |
logAnomalyToken(String logAnomalyToken)
The token where the anomaly was detected.
|
LogAnomalyClass.Builder |
logAnomalyType(LogAnomalyType logAnomalyType)
The type of log anomaly that has been detected.
|
LogAnomalyClass.Builder |
logAnomalyType(String logAnomalyType)
The type of log anomaly that has been detected.
|
LogAnomalyClass.Builder |
logEventId(String logEventId)
The ID of the log event.
|
LogAnomalyClass.Builder |
logEventTimestamp(Instant logEventTimestamp)
The time of the first occurrence of the anomalous log event.
|
LogAnomalyClass.Builder |
logStreamName(String logStreamName)
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to.
|
LogAnomalyClass.Builder |
numberOfLogLinesOccurrences(Integer numberOfLogLinesOccurrences)
The number of log lines where this anomalous log event occurs.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLogAnomalyClass.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.
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.LogAnomalyClass.Builder logAnomalyType(String logAnomalyType)
The type of log anomaly that has been detected.
logAnomalyType - The type of log anomaly that has been detected.LogAnomalyType,
LogAnomalyTypeLogAnomalyClass.Builder logAnomalyType(LogAnomalyType logAnomalyType)
The type of log anomaly that has been detected.
logAnomalyType - The type of log anomaly that has been detected.LogAnomalyType,
LogAnomalyTypeLogAnomalyClass.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.
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.LogAnomalyClass.Builder logEventId(String logEventId)
The ID of the log event.
logEventId - The ID of the log event.LogAnomalyClass.Builder explanation(String explanation)
The explanation for why the log event is considered an anomaly.
explanation - The explanation for why the log event is considered an anomaly.LogAnomalyClass.Builder numberOfLogLinesOccurrences(Integer numberOfLogLinesOccurrences)
The number of log lines where this anomalous log event occurs.
numberOfLogLinesOccurrences - The number of log lines where this anomalous log event occurs.LogAnomalyClass.Builder logEventTimestamp(Instant logEventTimestamp)
The time of the first occurrence of the anomalous log event.
logEventTimestamp - The time of the first occurrence of the anomalous log event.Copyright © 2023. All rights reserved.