@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Problem extends Object implements Serializable, Cloneable, StructuredPojo
Describes a problem that is detected by correlating observations.
Constructor and Description |
---|
Problem() |
Modifier and Type | Method and Description |
---|---|
Problem |
addFeedbackEntry(String key,
String value)
Add a single Feedback entry
|
Problem |
clearFeedbackEntries()
Removes all the entries added into Feedback.
|
Problem |
clone() |
boolean |
equals(Object obj) |
String |
getAffectedResource()
The resource affected by the problem.
|
Date |
getEndTime()
The time when the problem ended, in epoch seconds.
|
Map<String,String> |
getFeedback()
Feedback provided by the user about the problem.
|
String |
getId()
The ID of the problem.
|
String |
getInsights()
A detailed analysis of the problem using machine learning.
|
Date |
getLastRecurrenceTime()
The last time that the problem reoccurred after its last resolution.
|
Long |
getRecurringCount()
The number of times that the same problem reoccurred after the first time it was resolved.
|
String |
getResourceGroupName()
The name of the resource group affected by the problem.
|
String |
getSeverityLevel()
A measure of the level of impact of the problem.
|
Date |
getStartTime()
The time when the problem started, in epoch seconds.
|
String |
getStatus()
The status of the problem.
|
String |
getTitle()
The name of the problem.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAffectedResource(String affectedResource)
The resource affected by the problem.
|
void |
setEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
|
void |
setFeedback(Map<String,String> feedback)
Feedback provided by the user about the problem.
|
void |
setId(String id)
The ID of the problem.
|
void |
setInsights(String insights)
A detailed analysis of the problem using machine learning.
|
void |
setLastRecurrenceTime(Date lastRecurrenceTime)
The last time that the problem reoccurred after its last resolution.
|
void |
setRecurringCount(Long recurringCount)
The number of times that the same problem reoccurred after the first time it was resolved.
|
void |
setResourceGroupName(String resourceGroupName)
The name of the resource group affected by the problem.
|
void |
setSeverityLevel(String severityLevel)
A measure of the level of impact of the problem.
|
void |
setStartTime(Date startTime)
The time when the problem started, in epoch seconds.
|
void |
setStatus(String status)
The status of the problem.
|
void |
setTitle(String title)
The name of the problem.
|
String |
toString()
Returns a string representation of this object.
|
Problem |
withAffectedResource(String affectedResource)
The resource affected by the problem.
|
Problem |
withEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
|
Problem |
withFeedback(Map<String,String> feedback)
Feedback provided by the user about the problem.
|
Problem |
withId(String id)
The ID of the problem.
|
Problem |
withInsights(String insights)
A detailed analysis of the problem using machine learning.
|
Problem |
withLastRecurrenceTime(Date lastRecurrenceTime)
The last time that the problem reoccurred after its last resolution.
|
Problem |
withRecurringCount(Long recurringCount)
The number of times that the same problem reoccurred after the first time it was resolved.
|
Problem |
withResourceGroupName(String resourceGroupName)
The name of the resource group affected by the problem.
|
Problem |
withSeverityLevel(SeverityLevel severityLevel)
A measure of the level of impact of the problem.
|
Problem |
withSeverityLevel(String severityLevel)
A measure of the level of impact of the problem.
|
Problem |
withStartTime(Date startTime)
The time when the problem started, in epoch seconds.
|
Problem |
withStatus(Status status)
The status of the problem.
|
Problem |
withStatus(String status)
The status of the problem.
|
Problem |
withTitle(String title)
The name of the problem.
|
public void setId(String id)
The ID of the problem.
id
- The ID of the problem.public String getId()
The ID of the problem.
public Problem withId(String id)
The ID of the problem.
id
- The ID of the problem.public void setTitle(String title)
The name of the problem.
title
- The name of the problem.public String getTitle()
The name of the problem.
public Problem withTitle(String title)
The name of the problem.
title
- The name of the problem.public void setInsights(String insights)
A detailed analysis of the problem using machine learning.
insights
- A detailed analysis of the problem using machine learning.public String getInsights()
A detailed analysis of the problem using machine learning.
public Problem withInsights(String insights)
A detailed analysis of the problem using machine learning.
insights
- A detailed analysis of the problem using machine learning.public void setStatus(String status)
The status of the problem.
status
- The status of the problem.Status
public String getStatus()
The status of the problem.
Status
public Problem withStatus(String status)
The status of the problem.
status
- The status of the problem.Status
public Problem withStatus(Status status)
The status of the problem.
status
- The status of the problem.Status
public void setAffectedResource(String affectedResource)
The resource affected by the problem.
affectedResource
- The resource affected by the problem.public String getAffectedResource()
The resource affected by the problem.
public Problem withAffectedResource(String affectedResource)
The resource affected by the problem.
affectedResource
- The resource affected by the problem.public void setStartTime(Date startTime)
The time when the problem started, in epoch seconds.
startTime
- The time when the problem started, in epoch seconds.public Date getStartTime()
The time when the problem started, in epoch seconds.
public Problem withStartTime(Date startTime)
The time when the problem started, in epoch seconds.
startTime
- The time when the problem started, in epoch seconds.public void setEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
endTime
- The time when the problem ended, in epoch seconds.public Date getEndTime()
The time when the problem ended, in epoch seconds.
public Problem withEndTime(Date endTime)
The time when the problem ended, in epoch seconds.
endTime
- The time when the problem ended, in epoch seconds.public void setSeverityLevel(String severityLevel)
A measure of the level of impact of the problem.
severityLevel
- A measure of the level of impact of the problem.SeverityLevel
public String getSeverityLevel()
A measure of the level of impact of the problem.
SeverityLevel
public Problem withSeverityLevel(String severityLevel)
A measure of the level of impact of the problem.
severityLevel
- A measure of the level of impact of the problem.SeverityLevel
public Problem withSeverityLevel(SeverityLevel severityLevel)
A measure of the level of impact of the problem.
severityLevel
- A measure of the level of impact of the problem.SeverityLevel
public void setResourceGroupName(String resourceGroupName)
The name of the resource group affected by the problem.
resourceGroupName
- The name of the resource group affected by the problem.public String getResourceGroupName()
The name of the resource group affected by the problem.
public Problem withResourceGroupName(String resourceGroupName)
The name of the resource group affected by the problem.
resourceGroupName
- The name of the resource group affected by the problem.public Map<String,String> getFeedback()
Feedback provided by the user about the problem.
public void setFeedback(Map<String,String> feedback)
Feedback provided by the user about the problem.
feedback
- Feedback provided by the user about the problem.public Problem withFeedback(Map<String,String> feedback)
Feedback provided by the user about the problem.
feedback
- Feedback provided by the user about the problem.public Problem addFeedbackEntry(String key, String value)
public Problem clearFeedbackEntries()
public void setRecurringCount(Long recurringCount)
The number of times that the same problem reoccurred after the first time it was resolved.
recurringCount
- The number of times that the same problem reoccurred after the first time it was resolved.public Long getRecurringCount()
The number of times that the same problem reoccurred after the first time it was resolved.
public Problem withRecurringCount(Long recurringCount)
The number of times that the same problem reoccurred after the first time it was resolved.
recurringCount
- The number of times that the same problem reoccurred after the first time it was resolved.public void setLastRecurrenceTime(Date lastRecurrenceTime)
The last time that the problem reoccurred after its last resolution.
lastRecurrenceTime
- The last time that the problem reoccurred after its last resolution.public Date getLastRecurrenceTime()
The last time that the problem reoccurred after its last resolution.
public Problem withLastRecurrenceTime(Date lastRecurrenceTime)
The last time that the problem reoccurred after its last resolution.
lastRecurrenceTime
- The last time that the problem reoccurred after its last resolution.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.