@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightEvent extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
InsightEvent() |
Modifier and Type | Method and Description |
---|---|
InsightEvent |
clone() |
boolean |
equals(Object obj) |
RequestImpactStatistics |
getClientRequestImpactStatistics()
The impact statistics of the client side service.
|
Date |
getEventTime()
The time, in Unix seconds, at which the event was recorded.
|
RequestImpactStatistics |
getRootCauseServiceRequestImpactStatistics()
The impact statistics of the root cause service.
|
String |
getSummary()
A brief description of the event.
|
List<AnomalousService> |
getTopAnomalousServices()
The service during the event that is most impacted by the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)
The impact statistics of the client side service.
|
void |
setEventTime(Date eventTime)
The time, in Unix seconds, at which the event was recorded.
|
void |
setRootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)
The impact statistics of the root cause service.
|
void |
setSummary(String summary)
A brief description of the event.
|
void |
setTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service during the event that is most impacted by the incident.
|
String |
toString()
Returns a string representation of this object.
|
InsightEvent |
withClientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)
The impact statistics of the client side service.
|
InsightEvent |
withEventTime(Date eventTime)
The time, in Unix seconds, at which the event was recorded.
|
InsightEvent |
withRootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)
The impact statistics of the root cause service.
|
InsightEvent |
withSummary(String summary)
A brief description of the event.
|
InsightEvent |
withTopAnomalousServices(AnomalousService... topAnomalousServices)
The service during the event that is most impacted by the incident.
|
InsightEvent |
withTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service during the event that is most impacted by the incident.
|
public void setSummary(String summary)
A brief description of the event.
summary
- A brief description of the event.public String getSummary()
A brief description of the event.
public InsightEvent withSummary(String summary)
A brief description of the event.
summary
- A brief description of the event.public void setEventTime(Date eventTime)
The time, in Unix seconds, at which the event was recorded.
eventTime
- The time, in Unix seconds, at which the event was recorded.public Date getEventTime()
The time, in Unix seconds, at which the event was recorded.
public InsightEvent withEventTime(Date eventTime)
The time, in Unix seconds, at which the event was recorded.
eventTime
- The time, in Unix seconds, at which the event was recorded.public void setClientRequestImpactStatistics(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.
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 RequestImpactStatistics getClientRequestImpactStatistics()
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 InsightEvent withClientRequestImpactStatistics(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.
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 void setRootCauseServiceRequestImpactStatistics(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.
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 RequestImpactStatistics getRootCauseServiceRequestImpactStatistics()
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 InsightEvent withRootCauseServiceRequestImpactStatistics(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.
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 List<AnomalousService> getTopAnomalousServices()
The service during the event that is most impacted by the incident.
public void setTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service during the event that is most impacted by the incident.
topAnomalousServices
- The service during the event that is most impacted by the incident.public InsightEvent withTopAnomalousServices(AnomalousService... topAnomalousServices)
The service during the event that is most impacted by the incident.
NOTE: This method appends the values to the existing list (if any). Use
setTopAnomalousServices(java.util.Collection)
or withTopAnomalousServices(java.util.Collection)
if you want to override the existing values.
topAnomalousServices
- The service during the event that is most impacted by the incident.public InsightEvent withTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service during the event that is most impacted by the incident.
topAnomalousServices
- The service during the event that is most impacted by the incident.public String toString()
toString
in class Object
Object.toString()
public InsightEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.