@Generated(value="software.amazon.awssdk:codegen") public final class AnomalousLogGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalousLogGroup.Builder,AnomalousLogGroup>
An Amazon CloudWatch log group that contains log anomalies and is used to generate an insight.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnomalousLogGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnomalousLogGroup.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasLogAnomalyShowcases()
For responses, this returns true if the service returned a value for the LogAnomalyShowcases property.
|
Instant |
impactEndTime()
The time the anomalous log events stopped.
|
Instant |
impactStartTime()
The time the anomalous log events began.
|
List<LogAnomalyShowcase> |
logAnomalyShowcases()
The log anomalies in the log group.
|
String |
logGroupName()
The name of the CloudWatch log group.
|
Integer |
numberOfLogLinesScanned()
The number of log lines that were scanned for anomalous log events.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnomalousLogGroup.Builder> |
serializableBuilderClass() |
AnomalousLogGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String logGroupName()
The name of the CloudWatch log group.
public final Instant impactStartTime()
The time the anomalous log events began. The impact start time indicates the time of the first log anomaly event that occurs.
public final Instant impactEndTime()
The time the anomalous log events stopped.
public final Integer numberOfLogLinesScanned()
The number of log lines that were scanned for anomalous log events.
public final boolean hasLogAnomalyShowcases()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<LogAnomalyShowcase> logAnomalyShowcases()
The log anomalies in the log group. Each log anomaly displayed represents a cluster of similar anomalous log events.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLogAnomalyShowcases() method.
public AnomalousLogGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnomalousLogGroup.Builder,AnomalousLogGroup>public static AnomalousLogGroup.Builder builder()
public static Class<? extends AnomalousLogGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.