@Generated(value="software.amazon.awssdk:codegen") public final class Insight extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Insight.Builder,Insight>
When fault rates go outside of the expected range, X-Ray creates an insight. Insights tracks emergent issues within your applications.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Insight.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Insight.Builder |
builder() |
List<InsightCategory> |
categories()
The categories that label and describe the type of insight.
|
List<String> |
categoriesAsStrings()
The categories that label and describe the type of insight.
|
RequestImpactStatistics |
clientRequestImpactStatistics()
The impact statistics of the client side service.
|
Instant |
endTime()
The time, in Unix seconds, at which the insight ended.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupARN()
The Amazon Resource Name (ARN) of the group that the insight belongs to.
|
String |
groupName()
The name of the group that the insight belongs to.
|
boolean |
hasCategories()
Returns true if the Categories property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasTopAnomalousServices()
Returns true if the TopAnomalousServices property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
insightId()
The insights unique identifier.
|
ServiceId |
rootCauseServiceId()
Returns the value of the RootCauseServiceId property for this object.
|
RequestImpactStatistics |
rootCauseServiceRequestImpactStatistics()
The impact statistics of the root cause service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Insight.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The time, in Unix seconds, at which the insight began.
|
InsightState |
state()
The current state of the insight.
|
String |
stateAsString()
The current state of the insight.
|
String |
summary()
A brief description of the insight.
|
Insight.Builder |
toBuilder() |
List<AnomalousService> |
topAnomalousServices()
The service within the insight 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 insightId()
The insights unique identifier.
public final String groupARN()
The Amazon Resource Name (ARN) of the group that the insight belongs to.
public final String groupName()
The name of the group that the insight belongs to.
public final ServiceId rootCauseServiceId()
public final List<InsightCategory> categories()
The categories that label and describe the type of insight.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCategories() to see if a value was sent in this field.
public final boolean hasCategories()
public final List<String> categoriesAsStrings()
The categories that label and describe the type of insight.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasCategories() to see if a value was sent in this field.
public final InsightState state()
The current state of the insight.
If the service returns an enum value that is not available in the current SDK version, state will return
InsightState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
InsightStatepublic final String stateAsString()
The current state of the insight.
If the service returns an enum value that is not available in the current SDK version, state will return
InsightState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
InsightStatepublic final Instant startTime()
The time, in Unix seconds, at which the insight began.
public final Instant endTime()
The time, in Unix seconds, at which the insight ended.
public final String summary()
A brief description of the insight.
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()
public final List<AnomalousService> topAnomalousServices()
The service within the insight that is most impacted by the incident.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTopAnomalousServices() to see if a value was sent in this field.
public Insight.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Insight.Builder,Insight>public static Insight.Builder builder()
public static Class<? extends Insight.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.