@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 |
getAccountId()
The AWS account ID for the owner of the resource group affected by the problem.
|
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 |
getResolutionMethod()
Specifies how the problem 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.
|
String |
getVisibility()
Specifies whether or not you can view the problem.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The AWS account ID for the owner of the resource group affected by the problem.
|
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 |
setResolutionMethod(String resolutionMethod)
Specifies how the problem 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.
|
void |
setVisibility(String visibility)
Specifies whether or not you can view the problem.
|
String |
toString()
Returns a string representation of this object.
|
Problem |
withAccountId(String accountId)
The AWS account ID for the owner of the resource group affected by the problem.
|
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 |
withResolutionMethod(ResolutionMethod resolutionMethod)
Specifies how the problem was resolved.
|
Problem |
withResolutionMethod(String resolutionMethod)
Specifies how the problem 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.
|
Problem |
withVisibility(String visibility)
Specifies whether or not you can view the problem.
|
Problem |
withVisibility(Visibility visibility)
Specifies whether or not you can view 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 setAccountId(String accountId)
The AWS account ID for the owner of the resource group affected by the problem.
accountId
- The AWS account ID for the owner of the resource group affected by the problem.public String getAccountId()
The AWS account ID for the owner of the resource group affected by the problem.
public Problem withAccountId(String accountId)
The AWS account ID for the owner of the resource group affected by the problem.
accountId
- The AWS account ID for the owner of the resource group affected by the problem.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 void setVisibility(String visibility)
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
visibility
- Specifies whether or not you can view the problem. Updates to ignored problems do not generate
notifications.Visibility
public String getVisibility()
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
Visibility
public Problem withVisibility(String visibility)
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
visibility
- Specifies whether or not you can view the problem. Updates to ignored problems do not generate
notifications.Visibility
public Problem withVisibility(Visibility visibility)
Specifies whether or not you can view the problem. Updates to ignored problems do not generate notifications.
visibility
- Specifies whether or not you can view the problem. Updates to ignored problems do not generate
notifications.Visibility
public void setResolutionMethod(String resolutionMethod)
Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the problem.
If the value is MANUAL
, the user resolved the problem. If the value is UNRESOLVED
, then
the problem is not resolved.
resolutionMethod
- Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the
problem. If the value is MANUAL
, the user resolved the problem. If the value is
UNRESOLVED
, then the problem is not resolved.ResolutionMethod
public String getResolutionMethod()
Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the problem.
If the value is MANUAL
, the user resolved the problem. If the value is UNRESOLVED
, then
the problem is not resolved.
AUTOMATIC
, the system resolved the
problem. If the value is MANUAL
, the user resolved the problem. If the value is
UNRESOLVED
, then the problem is not resolved.ResolutionMethod
public Problem withResolutionMethod(String resolutionMethod)
Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the problem.
If the value is MANUAL
, the user resolved the problem. If the value is UNRESOLVED
, then
the problem is not resolved.
resolutionMethod
- Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the
problem. If the value is MANUAL
, the user resolved the problem. If the value is
UNRESOLVED
, then the problem is not resolved.ResolutionMethod
public Problem withResolutionMethod(ResolutionMethod resolutionMethod)
Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the problem.
If the value is MANUAL
, the user resolved the problem. If the value is UNRESOLVED
, then
the problem is not resolved.
resolutionMethod
- Specifies how the problem was resolved. If the value is AUTOMATIC
, the system resolved the
problem. If the value is MANUAL
, the user resolved the problem. If the value is
UNRESOLVED
, then the problem is not resolved.ResolutionMethod
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.