@Generated(value="software.amazon.awssdk:codegen") public final class InsightEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InsightEvent.Builder,InsightEvent>
X-Ray reevaluates insights periodically until they are resolved, and records each intermediate state in an event. You can review incident events in the Impact Timeline on the Inspect page in the X-Ray console.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InsightEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InsightEvent.Builder |
builder() |
RequestImpactStatistics |
clientRequestImpactStatistics()
The impact statistics of the client side service.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
eventTime()
The time, in Unix seconds, at which the event was recorded.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTopAnomalousServices()
For responses, this returns true if the service returned a value for the TopAnomalousServices property.
|
RequestImpactStatistics |
rootCauseServiceRequestImpactStatistics()
The impact statistics of the root cause service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InsightEvent.Builder> |
serializableBuilderClass() |
String |
summary()
A brief description of the event.
|
InsightEvent.Builder |
toBuilder() |
List<AnomalousService> |
topAnomalousServices()
The service during the event that is most impacted by the incident.
|
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String summary()
A brief description of the event.
public final Instant eventTime()
The time, in Unix seconds, at which the event was recorded.
public final RequestImpactStatistics clientRequestImpactStatistics()
The impact statistics of the client side service. This includes the number of requests to the client service and whether the requests were faults or okay.
public final RequestImpactStatistics rootCauseServiceRequestImpactStatistics()
The impact statistics of the root cause service. This includes the number of requests to the client service and whether the requests were faults or okay.
public final boolean hasTopAnomalousServices()
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<AnomalousService> topAnomalousServices()
The service during the event that is most impacted by the incident.
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 hasTopAnomalousServices() method.
public InsightEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InsightEvent.Builder,InsightEvent>public static InsightEvent.Builder builder()
public static Class<? extends InsightEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.