@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartIncidentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartIncidentRequest() |
Modifier and Type | Method and Description |
---|---|
StartIncidentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A token ensuring that the operation is called only once with the specified details.
|
Integer |
getImpact()
Defines the impact to the customers.
|
List<RelatedItem> |
getRelatedItems()
Add related items to the incident for other responders to use.
|
String |
getResponsePlanArn()
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics,
runbooks, title, and impact of the incident.
|
String |
getTitle()
Provide a title for the incident.
|
TriggerDetails |
getTriggerDetails()
Details of what created the incident record in Incident Manager.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
void |
setImpact(Integer impact)
Defines the impact to the customers.
|
void |
setRelatedItems(Collection<RelatedItem> relatedItems)
Add related items to the incident for other responders to use.
|
void |
setResponsePlanArn(String responsePlanArn)
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics,
runbooks, title, and impact of the incident.
|
void |
setTitle(String title)
Provide a title for the incident.
|
void |
setTriggerDetails(TriggerDetails triggerDetails)
Details of what created the incident record in Incident Manager.
|
String |
toString()
Returns a string representation of this object.
|
StartIncidentRequest |
withClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
StartIncidentRequest |
withImpact(Integer impact)
Defines the impact to the customers.
|
StartIncidentRequest |
withRelatedItems(Collection<RelatedItem> relatedItems)
Add related items to the incident for other responders to use.
|
StartIncidentRequest |
withRelatedItems(RelatedItem... relatedItems)
Add related items to the incident for other responders to use.
|
StartIncidentRequest |
withResponsePlanArn(String responsePlanArn)
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics,
runbooks, title, and impact of the incident.
|
StartIncidentRequest |
withTitle(String title)
Provide a title for the incident.
|
StartIncidentRequest |
withTriggerDetails(TriggerDetails triggerDetails)
Details of what created the incident record in Incident Manager.
|
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 setClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
clientToken
- A token ensuring that the operation is called only once with the specified details.public String getClientToken()
A token ensuring that the operation is called only once with the specified details.
public StartIncidentRequest withClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
clientToken
- A token ensuring that the operation is called only once with the specified details.public void setImpact(Integer impact)
Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
impact
- Defines the impact to the customers. Providing an impact overwrites the impact provided by a response
plan.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public Integer getImpact()
Defines the impact to the customers. Providing an impact overwrites the impact provided by a 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 StartIncidentRequest withImpact(Integer impact)
Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
impact
- Defines the impact to the customers. Providing an impact overwrites the impact provided by a response
plan.
Supported impact codes
1
- Critical
2
- High
3
- Medium
4
- Low
5
- No Impact
public List<RelatedItem> getRelatedItems()
Add related items to the incident for other responders to use. Related items are Amazon Web Services resources, external links, or files uploaded to an Amazon S3 bucket.
public void setRelatedItems(Collection<RelatedItem> relatedItems)
Add related items to the incident for other responders to use. Related items are Amazon Web Services resources, external links, or files uploaded to an Amazon S3 bucket.
relatedItems
- Add related items to the incident for other responders to use. Related items are Amazon Web Services
resources, external links, or files uploaded to an Amazon S3 bucket.public StartIncidentRequest withRelatedItems(RelatedItem... relatedItems)
Add related items to the incident for other responders to use. Related items are Amazon Web Services resources, external links, or files uploaded to an Amazon S3 bucket.
NOTE: This method appends the values to the existing list (if any). Use
setRelatedItems(java.util.Collection)
or withRelatedItems(java.util.Collection)
if you want to
override the existing values.
relatedItems
- Add related items to the incident for other responders to use. Related items are Amazon Web Services
resources, external links, or files uploaded to an Amazon S3 bucket.public StartIncidentRequest withRelatedItems(Collection<RelatedItem> relatedItems)
Add related items to the incident for other responders to use. Related items are Amazon Web Services resources, external links, or files uploaded to an Amazon S3 bucket.
relatedItems
- Add related items to the incident for other responders to use. Related items are Amazon Web Services
resources, external links, or files uploaded to an Amazon S3 bucket.public void setResponsePlanArn(String responsePlanArn)
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.
responsePlanArn
- The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS
topics, runbooks, title, and impact of the incident.public String getResponsePlanArn()
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.
public StartIncidentRequest withResponsePlanArn(String responsePlanArn)
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.
responsePlanArn
- The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS
topics, runbooks, title, and impact of the incident.public void setTitle(String title)
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
title
- Provide a title for the incident. Providing a title overwrites the title provided by the response plan.public String getTitle()
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
public StartIncidentRequest withTitle(String title)
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
title
- Provide a title for the incident. Providing a title overwrites the title provided by the response plan.public void setTriggerDetails(TriggerDetails triggerDetails)
Details of what created the incident record in Incident Manager.
triggerDetails
- Details of what created the incident record in Incident Manager.public TriggerDetails getTriggerDetails()
Details of what created the incident record in Incident Manager.
public StartIncidentRequest withTriggerDetails(TriggerDetails triggerDetails)
Details of what created the incident record in Incident Manager.
triggerDetails
- Details of what created the incident record in Incident Manager.public String toString()
toString
in class Object
Object.toString()
public StartIncidentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()