@Generated(value="software.amazon.awssdk:codegen") public final class LogAnomalyClass extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>
Information about an anomalous log event found within a log group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LogAnomalyClass.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LogAnomalyClass.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
explanation()
The explanation for why the log event is considered an anomaly.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
logAnomalyToken()
The token where the anomaly was detected.
|
LogAnomalyType |
logAnomalyType()
The type of log anomaly that has been detected.
|
String |
logAnomalyTypeAsString()
The type of log anomaly that has been detected.
|
String |
logEventId()
The ID of the log event.
|
Instant |
logEventTimestamp()
The time of the first occurrence of the anomalous log event.
|
String |
logStreamName()
The name of the Amazon CloudWatch log stream that the anomalous log event belongs to.
|
Integer |
numberOfLogLinesOccurrences()
The number of log lines where this anomalous log event occurs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LogAnomalyClass.Builder> |
serializableBuilderClass() |
LogAnomalyClass.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final LogAnomalyType logAnomalyType()
The type of log anomaly that has been detected.
If the service returns an enum value that is not available in the current SDK version, logAnomalyType
will return LogAnomalyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from logAnomalyTypeAsString().
LogAnomalyTypepublic final String logAnomalyTypeAsString()
The type of log anomaly that has been detected.
If the service returns an enum value that is not available in the current SDK version, logAnomalyType
will return LogAnomalyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from logAnomalyTypeAsString().
LogAnomalyTypepublic final 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.
public final String logEventId()
The ID of the log event.
public final String explanation()
The explanation for why the log event is considered an anomaly.
public final Integer numberOfLogLinesOccurrences()
The number of log lines where this anomalous log event occurs.
public final Instant logEventTimestamp()
The time of the first occurrence of the anomalous log event.
public LogAnomalyClass.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LogAnomalyClass.Builder,LogAnomalyClass>public static LogAnomalyClass.Builder builder()
public static Class<? extends LogAnomalyClass.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.