@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncidentRecord extends Object implements Serializable, Cloneable, StructuredPojo
The record of the incident that's created when an incident occurs.
Constructor and Description |
---|
IncidentRecord() |
Modifier and Type | Method and Description |
---|---|
IncidentRecord |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the incident record.
|
List<AutomationExecution> |
getAutomationExecutions()
The runbook, or automation document, that's run at the beginning of the incident.
|
ChatChannel |
getChatChannel()
The chat channel used for collaboration during an incident.
|
Date |
getCreationTime()
The timestamp for when Incident Manager created the incident record.
|
String |
getDedupeString()
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the
same account.
|
Integer |
getImpact()
The impact of the incident on customers and applications.
|
IncidentRecordSource |
getIncidentRecordSource()
Details about the action that started the incident.
|
String |
getLastModifiedBy()
Who modified the incident most recently.
|
Date |
getLastModifiedTime()
The timestamp for when the incident was most recently modified.
|
List<NotificationTargetItem> |
getNotificationTargets()
The Amazon SNS targets that are notified when updates are made to an incident.
|
Date |
getResolvedTime()
The timestamp for when the incident was resolved.
|
String |
getStatus()
The current status of the incident.
|
String |
getSummary()
The summary of the incident.
|
String |
getTitle()
The title of the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the incident record.
|
void |
setAutomationExecutions(Collection<AutomationExecution> automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
|
void |
setChatChannel(ChatChannel chatChannel)
The chat channel used for collaboration during an incident.
|
void |
setCreationTime(Date creationTime)
The timestamp for when Incident Manager created the incident record.
|
void |
setDedupeString(String dedupeString)
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the
same account.
|
void |
setImpact(Integer impact)
The impact of the incident on customers and applications.
|
void |
setIncidentRecordSource(IncidentRecordSource incidentRecordSource)
Details about the action that started the incident.
|
void |
setLastModifiedBy(String lastModifiedBy)
Who modified the incident most recently.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp for when the incident was most recently modified.
|
void |
setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
void |
setResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
|
void |
setStatus(String status)
The current status of the incident.
|
void |
setSummary(String summary)
The summary of the incident.
|
void |
setTitle(String title)
The title of the incident.
|
String |
toString()
Returns a string representation of this object.
|
IncidentRecord |
withArn(String arn)
The Amazon Resource Name (ARN) of the incident record.
|
IncidentRecord |
withAutomationExecutions(AutomationExecution... automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
|
IncidentRecord |
withAutomationExecutions(Collection<AutomationExecution> automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
|
IncidentRecord |
withChatChannel(ChatChannel chatChannel)
The chat channel used for collaboration during an incident.
|
IncidentRecord |
withCreationTime(Date creationTime)
The timestamp for when Incident Manager created the incident record.
|
IncidentRecord |
withDedupeString(String dedupeString)
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the
same account.
|
IncidentRecord |
withImpact(Integer impact)
The impact of the incident on customers and applications.
|
IncidentRecord |
withIncidentRecordSource(IncidentRecordSource incidentRecordSource)
Details about the action that started the incident.
|
IncidentRecord |
withLastModifiedBy(String lastModifiedBy)
Who modified the incident most recently.
|
IncidentRecord |
withLastModifiedTime(Date lastModifiedTime)
The timestamp for when the incident was most recently modified.
|
IncidentRecord |
withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
IncidentRecord |
withNotificationTargets(NotificationTargetItem... notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
IncidentRecord |
withResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved.
|
IncidentRecord |
withStatus(IncidentRecordStatus status)
The current status of the incident.
|
IncidentRecord |
withStatus(String status)
The current status of the incident.
|
IncidentRecord |
withSummary(String summary)
The summary of the incident.
|
IncidentRecord |
withTitle(String title)
The title of the incident.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the incident record.
arn
- The Amazon Resource Name (ARN) of the incident record.public String getArn()
The Amazon Resource Name (ARN) of the incident record.
public IncidentRecord withArn(String arn)
The Amazon Resource Name (ARN) of the incident record.
arn
- The Amazon Resource Name (ARN) of the incident record.public List<AutomationExecution> getAutomationExecutions()
The runbook, or automation document, that's run at the beginning of the incident.
public void setAutomationExecutions(Collection<AutomationExecution> automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
automationExecutions
- The runbook, or automation document, that's run at the beginning of the incident.public IncidentRecord withAutomationExecutions(AutomationExecution... automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
NOTE: This method appends the values to the existing list (if any). Use
setAutomationExecutions(java.util.Collection)
or withAutomationExecutions(java.util.Collection)
if you want to override the existing values.
automationExecutions
- The runbook, or automation document, that's run at the beginning of the incident.public IncidentRecord withAutomationExecutions(Collection<AutomationExecution> automationExecutions)
The runbook, or automation document, that's run at the beginning of the incident.
automationExecutions
- The runbook, or automation document, that's run at the beginning of the incident.public void setChatChannel(ChatChannel chatChannel)
The chat channel used for collaboration during an incident.
chatChannel
- The chat channel used for collaboration during an incident.public ChatChannel getChatChannel()
The chat channel used for collaboration during an incident.
public IncidentRecord withChatChannel(ChatChannel chatChannel)
The chat channel used for collaboration during an incident.
chatChannel
- The chat channel used for collaboration during an incident.public void setCreationTime(Date creationTime)
The timestamp for when Incident Manager created the incident record.
creationTime
- The timestamp for when Incident Manager created the incident record.public Date getCreationTime()
The timestamp for when Incident Manager created the incident record.
public IncidentRecord withCreationTime(Date creationTime)
The timestamp for when Incident Manager created the incident record.
creationTime
- The timestamp for when Incident Manager created the incident record.public void setDedupeString(String dedupeString)
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
dedupeString
- The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in
the same account.public String getDedupeString()
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
public IncidentRecord withDedupeString(String dedupeString)
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
dedupeString
- The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in
the same account.public void setImpact(Integer impact)
The impact of the incident on customers and applications.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
impact
- The impact of the incident on customers and applications.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public Integer getImpact()
The impact of the incident on customers and applications.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public IncidentRecord withImpact(Integer impact)
The impact of the incident on customers and applications.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
impact
- The impact of the incident on customers and applications.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public void setIncidentRecordSource(IncidentRecordSource incidentRecordSource)
Details about the action that started the incident.
incidentRecordSource
- Details about the action that started the incident.public IncidentRecordSource getIncidentRecordSource()
Details about the action that started the incident.
public IncidentRecord withIncidentRecordSource(IncidentRecordSource incidentRecordSource)
Details about the action that started the incident.
incidentRecordSource
- Details about the action that started the incident.public void setLastModifiedBy(String lastModifiedBy)
Who modified the incident most recently.
lastModifiedBy
- Who modified the incident most recently.public String getLastModifiedBy()
Who modified the incident most recently.
public IncidentRecord withLastModifiedBy(String lastModifiedBy)
Who modified the incident most recently.
lastModifiedBy
- Who modified the incident most recently.public void setLastModifiedTime(Date lastModifiedTime)
The timestamp for when the incident was most recently modified.
lastModifiedTime
- The timestamp for when the incident was most recently modified.public Date getLastModifiedTime()
The timestamp for when the incident was most recently modified.
public IncidentRecord withLastModifiedTime(Date lastModifiedTime)
The timestamp for when the incident was most recently modified.
lastModifiedTime
- The timestamp for when the incident was most recently modified.public List<NotificationTargetItem> getNotificationTargets()
The Amazon SNS targets that are notified when updates are made to an incident.
public void setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public IncidentRecord withNotificationTargets(NotificationTargetItem... notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationTargets(java.util.Collection)
or withNotificationTargets(java.util.Collection)
if you want to override the existing values.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public IncidentRecord withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public void setResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved. This appears as a timeline event.
resolvedTime
- The timestamp for when the incident was resolved. This appears as a timeline event.public Date getResolvedTime()
The timestamp for when the incident was resolved. This appears as a timeline event.
public IncidentRecord withResolvedTime(Date resolvedTime)
The timestamp for when the incident was resolved. This appears as a timeline event.
resolvedTime
- The timestamp for when the incident was resolved. This appears as a timeline event.public void setStatus(String status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public String getStatus()
The current status of the incident.
IncidentRecordStatus
public IncidentRecord withStatus(String status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public IncidentRecord withStatus(IncidentRecordStatus status)
The current status of the incident.
status
- The current status of the incident.IncidentRecordStatus
public void setSummary(String summary)
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening,
and context of the incident.public String getSummary()
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.
public IncidentRecord withSummary(String summary)
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening,
and context of the incident.public void setTitle(String title)
The title of the incident.
title
- The title of the incident.public String getTitle()
The title of the incident.
public IncidentRecord withTitle(String title)
The title of the incident.
title
- The title of the incident.public String toString()
toString
in class Object
Object.toString()
public IncidentRecord clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.