@Generated(value="software.amazon.awssdk:codegen") public final class UpdateIncidentRecordRequest extends SsmIncidentsRequest implements ToCopyableBuilder<UpdateIncidentRecordRequest.Builder,UpdateIncidentRecordRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateIncidentRecordRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the incident record you are updating.
|
static UpdateIncidentRecordRequest.Builder |
builder() |
ChatChannel |
chatChannel()
The Chatbot chat channel where responders can collaborate.
|
String |
clientToken()
A token that ensures that a client calls the operation only once with the specified details.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasNotificationTargets()
For responses, this returns true if the service returned a value for the NotificationTargets property.
|
Integer |
impact()
Defines the impact of the incident to customers and applications.
|
List<NotificationTargetItem> |
notificationTargets()
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateIncidentRecordRequest.Builder> |
serializableBuilderClass() |
IncidentRecordStatus |
status()
The status of the incident.
|
String |
statusAsString()
The status of the incident.
|
String |
summary()
A longer description of what occurred during the incident.
|
String |
title()
A brief description of the incident.
|
UpdateIncidentRecordRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the incident record you are updating.
public final ChatChannel chatChannel()
The Chatbot chat channel where responders can collaborate.
public final String clientToken()
A token that ensures that a client calls the operation only once with the specified details.
public final Integer impact()
Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan.
Possible impacts:
1 - Critical impact, full application failure that impacts many to all customers.
2 - High impact, partial application failure with impact to many customers.
3 - Medium impact, the application is providing reduced service to customers.
4 - Low impact, customer aren't impacted by the problem yet.
5 - No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
Possible impacts:
1 - Critical impact, full application failure that impacts many to all customers.
2 - High impact, partial application failure with impact to many customers.
3 - Medium impact, the application is providing reduced service to customers.
4 - Low impact, customer aren't impacted by the problem yet.
5 - No impact, customers aren't currently impacted but urgent action is needed to avoid
impact.
public final boolean hasNotificationTargets()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<NotificationTargetItem> notificationTargets()
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasNotificationTargets() method.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
public final IncidentRecordStatus status()
The status of the incident. Possible statuses are Open or Resolved.
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().
Open or Resolved.IncidentRecordStatuspublic final String statusAsString()
The status of the incident. Possible statuses are Open or Resolved.
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().
Open or Resolved.IncidentRecordStatuspublic final String summary()
A longer description of what occurred during the incident.
public final String title()
A brief description of the incident.
public UpdateIncidentRecordRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateIncidentRecordRequest.Builder,UpdateIncidentRecordRequest>toBuilder in class SsmIncidentsRequestpublic static UpdateIncidentRecordRequest.Builder builder()
public static Class<? extends UpdateIncidentRecordRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.