@Generated(value="software.amazon.awssdk:codegen") public final class InsightSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InsightSummary.Builder,InsightSummary>
Information that describes an insight.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InsightSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InsightSummary.Builder |
builder() |
List<InsightCategory> |
categories()
Categories The categories that label and describe the type of insight.
|
List<String> |
categoriesAsStrings()
Categories 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()
For responses, this returns true if the service returned a value for the Categories property.
|
int |
hashCode() |
boolean |
hasTopAnomalousServices()
For responses, this returns true if the service returned a value for the TopAnomalousServices property.
|
String |
insightId()
The insights unique identifier.
|
Instant |
lastUpdateTime()
The time, in Unix seconds, that the insight was last updated.
|
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 InsightSummary.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.
|
InsightSummary.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()
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.
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 hasCategories() method.
public final boolean hasCategories()
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<String> categoriesAsStrings()
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.
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 hasCategories() method.
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()
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 within the insight 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 final Instant lastUpdateTime()
The time, in Unix seconds, that the insight was last updated.
public InsightSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InsightSummary.Builder,InsightSummary>public static InsightSummary.Builder builder()
public static Class<? extends InsightSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.