@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 AWS Chatbot chat channel for responders to collaborate in.
|
String |
getClientToken()
A token ensuring that the action is called only once with the specified details.
|
Integer |
getImpact()
Defines the impact to customers and applications.
|
List<NotificationTargetItem> |
getNotificationTargets()
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident.
|
String |
getStatus()
The status of the incident.
|
String |
getSummary()
The summary describes what has happened during the incident.
|
String |
getTitle()
The title of the incident is a brief and easily recognizable.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the incident record you are updating.
|
void |
setChatChannel(ChatChannel chatChannel)
The AWS Chatbot chat channel for responders to collaborate in.
|
void |
setClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
|
void |
setImpact(Integer impact)
Defines the impact to customers and applications.
|
void |
setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident.
|
void |
setStatus(String status)
The status of the incident.
|
void |
setSummary(String summary)
The summary describes what has happened during the incident.
|
void |
setTitle(String title)
The title of the incident is a brief and easily recognizable.
|
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 AWS Chatbot chat channel for responders to collaborate in.
|
UpdateIncidentRecordRequest |
withClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
|
UpdateIncidentRecordRequest |
withImpact(Integer impact)
Defines the impact to customers and applications.
|
UpdateIncidentRecordRequest |
withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident.
|
UpdateIncidentRecordRequest |
withNotificationTargets(NotificationTargetItem... notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident.
|
UpdateIncidentRecordRequest |
withStatus(IncidentRecordStatus status)
The status of the incident.
|
UpdateIncidentRecordRequest |
withStatus(String status)
The status of the incident.
|
UpdateIncidentRecordRequest |
withSummary(String summary)
The summary describes what has happened during the incident.
|
UpdateIncidentRecordRequest |
withTitle(String title)
The title of the incident is a brief and easily recognizable.
|
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 AWS Chatbot chat channel for responders to collaborate in.
chatChannel
- The AWS Chatbot chat channel for responders to collaborate in.public ChatChannel getChatChannel()
The AWS Chatbot chat channel for responders to collaborate in.
public UpdateIncidentRecordRequest withChatChannel(ChatChannel chatChannel)
The AWS Chatbot chat channel for responders to collaborate in.
chatChannel
- The AWS Chatbot chat channel for responders to collaborate in.public void setClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
clientToken
- A token ensuring that the action is called only once with the specified details.public String getClientToken()
A token ensuring that the action is called only once with the specified details.
public UpdateIncidentRecordRequest withClientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
clientToken
- A token ensuring that the action is called only once with the specified details.public void setImpact(Integer impact)
Defines the impact to customers and applications. Providing an impact overwrites the impact provided by the response plan.
Possible impacts:
1
- Critical impact, this typically relates to 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 might aren't impacted by the problem yet.
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
impact
- Defines the impact to customers and applications. Providing an impact overwrites the impact provided by
the response plan.
Possible impacts:
1
- Critical impact, this typically relates to 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 might aren't impacted by the problem yet.
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid
impact.
public Integer getImpact()
Defines the impact to customers and applications. Providing an impact overwrites the impact provided by the response plan.
Possible impacts:
1
- Critical impact, this typically relates to 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 might 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, this typically relates to 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 might aren't impacted by the problem yet.
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid
impact.
public UpdateIncidentRecordRequest withImpact(Integer impact)
Defines the impact to customers and applications. Providing an impact overwrites the impact provided by the response plan.
Possible impacts:
1
- Critical impact, this typically relates to 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 might aren't impacted by the problem yet.
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
impact
- Defines the impact to customers and applications. Providing an impact overwrites the impact provided by
the response plan.
Possible impacts:
1
- Critical impact, this typically relates to 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 might aren't impacted by the problem yet.
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid
impact.
public List<NotificationTargetItem> getNotificationTargets()
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
public void setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
notificationTargets
- The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also
make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
public UpdateIncidentRecordRequest withNotificationTargets(NotificationTargetItem... notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case 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 SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also
make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
public UpdateIncidentRecordRequest withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
notificationTargets
- The SNS targets that AWS Chatbot uses to notify the chat channel of updates to an incident. You can also
make updates to the incident through the chat channel using the SNS topics.
Using multiple SNS topics creates redundancy in the case that a Region is down during the incident.
public void setStatus(String status)
The status of the incident. An incident can be Open
or Resolved
.
status
- The status of the incident. An incident can be Open
or Resolved
.IncidentRecordStatus
public String getStatus()
The status of the incident. An incident can be Open
or Resolved
.
Open
or Resolved
.IncidentRecordStatus
public UpdateIncidentRecordRequest withStatus(String status)
The status of the incident. An incident can be Open
or Resolved
.
status
- The status of the incident. An incident can be Open
or Resolved
.IncidentRecordStatus
public UpdateIncidentRecordRequest withStatus(IncidentRecordStatus status)
The status of the incident. An incident can be Open
or Resolved
.
status
- The status of the incident. An incident can be Open
or Resolved
.IncidentRecordStatus
public void setSummary(String summary)
The summary describes what has happened during the incident.
summary
- The summary describes what has happened during the incident.public String getSummary()
The summary describes what has happened during the incident.
public UpdateIncidentRecordRequest withSummary(String summary)
The summary describes what has happened during the incident.
summary
- The summary describes what has happened during the incident.public void setTitle(String title)
The title of the incident is a brief and easily recognizable.
title
- The title of the incident is a brief and easily recognizable.public String getTitle()
The title of the incident is a brief and easily recognizable.
public UpdateIncidentRecordRequest withTitle(String title)
The title of the incident is a brief and easily recognizable.
title
- The title of the incident is a brief and easily recognizable.public String toString()
toString
in class Object
Object.toString()
public UpdateIncidentRecordRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()