@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateIncidentRecordRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateIncidentRecordRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateIncidentRecordRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the incident record you are updating.
|
ChatChannel |
getChatChannel()
The Chatbot chat channel where responders can collaborate.
|
String |
getClientToken()
A token that ensures that a client calls the operation only once with the specified details.
|
Integer |
getImpact()
Defines the impact of the incident to customers and applications.
|
List<NotificationTargetItem> |
getNotificationTargets()
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
|
String |
getStatus()
The status of the incident.
|
String |
getSummary()
A longer description of what occurred during the incident.
|
String |
getTitle()
A brief description of the incident.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the incident record you are updating.
|
void |
setChatChannel(ChatChannel chatChannel)
The Chatbot chat channel where responders can collaborate.
|
void |
setClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
|
void |
setImpact(Integer impact)
Defines the impact of the incident to customers and applications.
|
void |
setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
|
void |
setStatus(String status)
The status of the incident.
|
void |
setSummary(String summary)
A longer description of what occurred during the incident.
|
void |
setTitle(String title)
A brief description of the incident.
|
String |
toString()
Returns a string representation of this object.
|
UpdateIncidentRecordRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the incident record you are updating.
|
UpdateIncidentRecordRequest |
withChatChannel(ChatChannel chatChannel)
The Chatbot chat channel where responders can collaborate.
|
UpdateIncidentRecordRequest |
withClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
|
UpdateIncidentRecordRequest |
withImpact(Integer impact)
Defines the impact of the incident to customers and applications.
|
UpdateIncidentRecordRequest |
withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
|
UpdateIncidentRecordRequest |
withNotificationTargets(NotificationTargetItem... notificationTargets)
The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
|
UpdateIncidentRecordRequest |
withStatus(IncidentRecordStatus status)
The status of the incident.
|
UpdateIncidentRecordRequest |
withStatus(String status)
The status of the incident.
|
UpdateIncidentRecordRequest |
withSummary(String summary)
A longer description of what occurred during the incident.
|
UpdateIncidentRecordRequest |
withTitle(String title)
A brief description of the incident.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArn(String arn)
The Amazon Resource Name (ARN) of the incident record you are updating.
arn
- The Amazon Resource Name (ARN) of the incident record you are updating.public String getArn()
The Amazon Resource Name (ARN) of the incident record you are updating.
public UpdateIncidentRecordRequest withArn(String arn)
The Amazon Resource Name (ARN) of the incident record you are updating.
arn
- The Amazon Resource Name (ARN) of the incident record you are updating.public void setChatChannel(ChatChannel chatChannel)
The Chatbot chat channel where responders can collaborate.
chatChannel
- The Chatbot chat channel where responders can collaborate.public ChatChannel getChatChannel()
The Chatbot chat channel where responders can collaborate.
public UpdateIncidentRecordRequest withChatChannel(ChatChannel chatChannel)
The Chatbot chat channel where responders can collaborate.
chatChannel
- The Chatbot chat channel where responders can collaborate.public void setClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
clientToken
- A token that ensures that a client calls the operation only once with the specified details.public String getClientToken()
A token that ensures that a client calls the operation only once with the specified details.
public UpdateIncidentRecordRequest withClientToken(String clientToken)
A token that ensures that a client calls the operation only once with the specified details.
clientToken
- A token that ensures that a client calls the operation only once with the specified details.public void setImpact(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.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
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.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public Integer getImpact()
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.
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 UpdateIncidentRecordRequest withImpact(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.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
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.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public List<NotificationTargetItem> getNotificationTargets()
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.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
public void setNotificationTargets(Collection<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.
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.
public UpdateIncidentRecordRequest withNotificationTargets(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.
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 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.
public UpdateIncidentRecordRequest withNotificationTargets(Collection<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.
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.
public void setStatus(String status)
The status of the incident. Possible statuses are Open
or Resolved
.
status
- The status of the incident. Possible statuses are Open
or Resolved
.IncidentRecordStatus
public String getStatus()
The status of the incident. Possible statuses are Open
or Resolved
.
Open
or Resolved
.IncidentRecordStatus
public UpdateIncidentRecordRequest withStatus(String status)
The status of the incident. Possible statuses are Open
or Resolved
.
status
- The status of the incident. Possible statuses are Open
or Resolved
.IncidentRecordStatus
public UpdateIncidentRecordRequest withStatus(IncidentRecordStatus status)
The status of the incident. Possible statuses are Open
or Resolved
.
status
- The status of the incident. Possible statuses are Open
or Resolved
.IncidentRecordStatus
public void setSummary(String summary)
A longer description of what occurred during the incident.
summary
- A longer description of what occurred during the incident.public String getSummary()
A longer description of what occurred during the incident.
public UpdateIncidentRecordRequest withSummary(String summary)
A longer description of what occurred during the incident.
summary
- A longer description of what occurred during the incident.public void setTitle(String title)
A brief description of the incident.
title
- A brief description of the incident.public String getTitle()
A brief description of the incident.
public UpdateIncidentRecordRequest withTitle(String title)
A brief description of the incident.
title
- A brief description of the incident.public String toString()
toString
in class Object
Object.toString()
public UpdateIncidentRecordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()