@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information that describes an insight.
Constructor and Description |
---|
InsightSummary() |
Modifier and Type | Method and Description |
---|---|
InsightSummary |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCategories()
Categories The categories that label and describe the type of insight.
|
RequestImpactStatistics |
getClientRequestImpactStatistics()
The impact statistics of the client side service.
|
Date |
getEndTime()
The time, in Unix seconds, at which the insight ended.
|
String |
getGroupARN()
The Amazon Resource Name (ARN) of the group that the insight belongs to.
|
String |
getGroupName()
The name of the group that the insight belongs to.
|
String |
getInsightId()
The insights unique identifier.
|
Date |
getLastUpdateTime()
The time, in Unix seconds, that the insight was last updated.
|
ServiceId |
getRootCauseServiceId() |
RequestImpactStatistics |
getRootCauseServiceRequestImpactStatistics()
The impact statistics of the root cause service.
|
Date |
getStartTime()
The time, in Unix seconds, at which the insight began.
|
String |
getState()
The current state of the insight.
|
String |
getSummary()
A brief description of the insight.
|
List<AnomalousService> |
getTopAnomalousServices()
The service within the insight that is most impacted by the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCategories(Collection<String> categories)
Categories The categories that label and describe the type of insight.
|
void |
setClientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)
The impact statistics of the client side service.
|
void |
setEndTime(Date endTime)
The time, in Unix seconds, at which the insight ended.
|
void |
setGroupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
|
void |
setGroupName(String groupName)
The name of the group that the insight belongs to.
|
void |
setInsightId(String insightId)
The insights unique identifier.
|
void |
setLastUpdateTime(Date lastUpdateTime)
The time, in Unix seconds, that the insight was last updated.
|
void |
setRootCauseServiceId(ServiceId rootCauseServiceId) |
void |
setRootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)
The impact statistics of the root cause service.
|
void |
setStartTime(Date startTime)
The time, in Unix seconds, at which the insight began.
|
void |
setState(String state)
The current state of the insight.
|
void |
setSummary(String summary)
A brief description of the insight.
|
void |
setTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
String |
toString()
Returns a string representation of this object.
|
InsightSummary |
withCategories(Collection<String> categories)
Categories The categories that label and describe the type of insight.
|
InsightSummary |
withCategories(InsightCategory... categories)
Categories The categories that label and describe the type of insight.
|
InsightSummary |
withCategories(String... categories)
Categories The categories that label and describe the type of insight.
|
InsightSummary |
withClientRequestImpactStatistics(RequestImpactStatistics clientRequestImpactStatistics)
The impact statistics of the client side service.
|
InsightSummary |
withEndTime(Date endTime)
The time, in Unix seconds, at which the insight ended.
|
InsightSummary |
withGroupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
|
InsightSummary |
withGroupName(String groupName)
The name of the group that the insight belongs to.
|
InsightSummary |
withInsightId(String insightId)
The insights unique identifier.
|
InsightSummary |
withLastUpdateTime(Date lastUpdateTime)
The time, in Unix seconds, that the insight was last updated.
|
InsightSummary |
withRootCauseServiceId(ServiceId rootCauseServiceId) |
InsightSummary |
withRootCauseServiceRequestImpactStatistics(RequestImpactStatistics rootCauseServiceRequestImpactStatistics)
The impact statistics of the root cause service.
|
InsightSummary |
withStartTime(Date startTime)
The time, in Unix seconds, at which the insight began.
|
InsightSummary |
withState(InsightState state)
The current state of the insight.
|
InsightSummary |
withState(String state)
The current state of the insight.
|
InsightSummary |
withSummary(String summary)
A brief description of the insight.
|
InsightSummary |
withTopAnomalousServices(AnomalousService... topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
InsightSummary |
withTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
|
public void setInsightId(String insightId)
The insights unique identifier.
insightId
- The insights unique identifier.public String getInsightId()
The insights unique identifier.
public InsightSummary withInsightId(String insightId)
The insights unique identifier.
insightId
- The insights unique identifier.public void setGroupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
groupARN
- The Amazon Resource Name (ARN) of the group that the insight belongs to.public String getGroupARN()
The Amazon Resource Name (ARN) of the group that the insight belongs to.
public InsightSummary withGroupARN(String groupARN)
The Amazon Resource Name (ARN) of the group that the insight belongs to.
groupARN
- The Amazon Resource Name (ARN) of the group that the insight belongs to.public void setGroupName(String groupName)
The name of the group that the insight belongs to.
groupName
- The name of the group that the insight belongs to.public String getGroupName()
The name of the group that the insight belongs to.
public InsightSummary withGroupName(String groupName)
The name of the group that the insight belongs to.
groupName
- The name of the group that the insight belongs to.public void setRootCauseServiceId(ServiceId rootCauseServiceId)
rootCauseServiceId
- public ServiceId getRootCauseServiceId()
public InsightSummary withRootCauseServiceId(ServiceId rootCauseServiceId)
rootCauseServiceId
- public List<String> getCategories()
Categories The categories that label and describe the type of insight.
InsightCategory
public void setCategories(Collection<String> categories)
Categories The categories that label and describe the type of insight.
categories
- Categories The categories that label and describe the type of insight.InsightCategory
public InsightSummary withCategories(String... categories)
Categories The categories that label and describe the type of insight.
NOTE: This method appends the values to the existing list (if any). Use
setCategories(java.util.Collection)
or withCategories(java.util.Collection)
if you want to
override the existing values.
categories
- Categories The categories that label and describe the type of insight.InsightCategory
public InsightSummary withCategories(Collection<String> categories)
Categories The categories that label and describe the type of insight.
categories
- Categories The categories that label and describe the type of insight.InsightCategory
public InsightSummary withCategories(InsightCategory... categories)
Categories The categories that label and describe the type of insight.
categories
- Categories The categories that label and describe the type of insight.InsightCategory
public void setState(String state)
The current state of the insight.
state
- The current state of the insight.InsightState
public String getState()
The current state of the insight.
InsightState
public InsightSummary withState(String state)
The current state of the insight.
state
- The current state of the insight.InsightState
public InsightSummary withState(InsightState state)
The current state of the insight.
state
- The current state of the insight.InsightState
public void setStartTime(Date startTime)
The time, in Unix seconds, at which the insight began.
startTime
- The time, in Unix seconds, at which the insight began.public Date getStartTime()
The time, in Unix seconds, at which the insight began.
public InsightSummary withStartTime(Date startTime)
The time, in Unix seconds, at which the insight began.
startTime
- The time, in Unix seconds, at which the insight began.public void setEndTime(Date endTime)
The time, in Unix seconds, at which the insight ended.
endTime
- The time, in Unix seconds, at which the insight ended.public Date getEndTime()
The time, in Unix seconds, at which the insight ended.
public InsightSummary withEndTime(Date endTime)
The time, in Unix seconds, at which the insight ended.
endTime
- The time, in Unix seconds, at which the insight ended.public void setSummary(String summary)
A brief description of the insight.
summary
- A brief description of the insight.public String getSummary()
A brief description of the insight.
public InsightSummary withSummary(String summary)
A brief description of the insight.
summary
- A brief description of the insight.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 InsightSummary 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 InsightSummary 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 within the insight that is most impacted by the incident.
public void setTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
topAnomalousServices
- The service within the insight that is most impacted by the incident.public InsightSummary withTopAnomalousServices(AnomalousService... topAnomalousServices)
The service within the insight 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 within the insight that is most impacted by the incident.public InsightSummary withTopAnomalousServices(Collection<AnomalousService> topAnomalousServices)
The service within the insight that is most impacted by the incident.
topAnomalousServices
- The service within the insight that is most impacted by the incident.public void setLastUpdateTime(Date lastUpdateTime)
The time, in Unix seconds, that the insight was last updated.
lastUpdateTime
- The time, in Unix seconds, that the insight was last updated.public Date getLastUpdateTime()
The time, in Unix seconds, that the insight was last updated.
public InsightSummary withLastUpdateTime(Date lastUpdateTime)
The time, in Unix seconds, that the insight was last updated.
lastUpdateTime
- The time, in Unix seconds, that the insight was last updated.public String toString()
toString
in class Object
Object.toString()
public InsightSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.