@Generated(value="software.amazon.awssdk:codegen") public final class IncidentRecord extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IncidentRecord.Builder,IncidentRecord>
The record of the incident that's created when an incident occurs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IncidentRecord.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the incident record.
|
List<AutomationExecution> |
automationExecutions()
The runbook, or automation document, that's run at the beginning of the incident.
|
static IncidentRecord.Builder |
builder() |
ChatChannel |
chatChannel()
The chat channel used for collaboration during an incident.
|
Instant |
creationTime()
The time that Incident Manager created the incident record.
|
String |
dedupeString()
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAutomationExecutions()
Returns true if the AutomationExecutions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasNotificationTargets()
Returns true if the NotificationTargets property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Integer |
impact()
The impact of the incident on customers and applications.
|
IncidentRecordSource |
incidentRecordSource()
Details about the action that started the incident.
|
String |
lastModifiedBy()
Who modified the incident most recently.
|
Instant |
lastModifiedTime()
The time at which the incident was most recently modified.
|
List<NotificationTargetItem> |
notificationTargets()
The SNS targets that AWS Chatbot uses to notify the chat channels and perform actions on the incident record.
|
Instant |
resolvedTime()
The time at which the incident was resolved.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IncidentRecord.Builder> |
serializableBuilderClass() |
IncidentRecordStatus |
status()
The current status of the incident.
|
String |
statusAsString()
The current status of the incident.
|
String |
summary()
The summary of the incident.
|
String |
title()
The title of the incident.
|
IncidentRecord.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the incident record.
public final boolean hasAutomationExecutions()
public final List<AutomationExecution> automationExecutions()
The runbook, or automation document, that's run at the beginning of the incident.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAutomationExecutions() to see if a value was sent in this field.
public final ChatChannel chatChannel()
The chat channel used for collaboration during an incident.
public final Instant creationTime()
The time that Incident Manager created the incident record.
public final String dedupeString()
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident.
public final Integer impact()
The impact of the incident on customers and applications.
public final IncidentRecordSource incidentRecordSource()
Details about the action that started the incident.
public final String lastModifiedBy()
Who modified the incident most recently.
public final Instant lastModifiedTime()
The time at which the incident was most recently modified.
public final boolean hasNotificationTargets()
public final List<NotificationTargetItem> notificationTargets()
The SNS targets that AWS Chatbot uses to notify the chat channels and perform actions on the incident record.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasNotificationTargets() to see if a value was sent in this field.
public final Instant resolvedTime()
The time at which the incident was resolved. This appears as a timeline event.
public final IncidentRecordStatus status()
The current status of the incident.
If the service returns an enum value that is not available in the current SDK version, status will
return IncidentRecordStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
IncidentRecordStatuspublic final String statusAsString()
The current status of the incident.
If the service returns an enum value that is not available in the current SDK version, status will
return IncidentRecordStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
IncidentRecordStatuspublic final String summary()
The summary of the incident. The summary is a brief synopsis of what occurred, what is currently happening, and context.
public final String title()
The title of the incident.
public IncidentRecord.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IncidentRecord.Builder,IncidentRecord>public static IncidentRecord.Builder builder()
public static Class<? extends IncidentRecord.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.