@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResponsePlanRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResponsePlanRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResponsePlanRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateResponsePlanRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateResponsePlanRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions that the response plan starts at the beginning of an incident.
|
ChatChannel |
getChatChannel()
The Chatbot chat channel used for collaboration during an incident.
|
String |
getClientToken()
A token ensuring that the operation is called only once with the specified details.
|
String |
getDisplayName()
The long format of the response plan name.
|
List<String> |
getEngagements()
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an
incident.
|
IncidentTemplate |
getIncidentTemplate()
Details used to create an incident when using this response plan.
|
List<Integration> |
getIntegrations()
Information about third-party services integrated into the response plan.
|
String |
getName()
The short format name of the response plan.
|
Map<String,String> |
getTags()
A list of tags that you are adding to the response plan.
|
int |
hashCode() |
void |
setActions(Collection<Action> actions)
The actions that the response plan starts at the beginning of an incident.
|
void |
setChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
|
void |
setClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
void |
setDisplayName(String displayName)
The long format of the response plan name.
|
void |
setEngagements(Collection<String> engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an
incident.
|
void |
setIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create an incident when using this response plan.
|
void |
setIntegrations(Collection<Integration> integrations)
Information about third-party services integrated into the response plan.
|
void |
setName(String name)
The short format name of the response plan.
|
void |
setTags(Map<String,String> tags)
A list of tags that you are adding to the response plan.
|
String |
toString()
Returns a string representation of this object.
|
CreateResponsePlanRequest |
withActions(Action... actions)
The actions that the response plan starts at the beginning of an incident.
|
CreateResponsePlanRequest |
withActions(Collection<Action> actions)
The actions that the response plan starts at the beginning of an incident.
|
CreateResponsePlanRequest |
withChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
|
CreateResponsePlanRequest |
withClientToken(String clientToken)
A token ensuring that the operation is called only once with the specified details.
|
CreateResponsePlanRequest |
withDisplayName(String displayName)
The long format of the response plan name.
|
CreateResponsePlanRequest |
withEngagements(Collection<String> engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an
incident.
|
CreateResponsePlanRequest |
withEngagements(String... engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an
incident.
|
CreateResponsePlanRequest |
withIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create an incident when using this response plan.
|
CreateResponsePlanRequest |
withIntegrations(Collection<Integration> integrations)
Information about third-party services integrated into the response plan.
|
CreateResponsePlanRequest |
withIntegrations(Integration... integrations)
Information about third-party services integrated into the response plan.
|
CreateResponsePlanRequest |
withName(String name)
The short format name of the response plan.
|
CreateResponsePlanRequest |
withTags(Map<String,String> tags)
A list of tags that you are adding to the response plan.
|
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 List<Action> getActions()
The actions that the response plan starts at the beginning of an incident.
public void setActions(Collection<Action> actions)
The actions that the response plan starts at the beginning of an incident.
actions
- The actions that the response plan starts at the beginning of an incident.public CreateResponsePlanRequest withActions(Action... actions)
The actions that the response plan starts at the beginning of an incident.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
or withActions(java.util.Collection)
if you want to override
the existing values.
actions
- The actions that the response plan starts at the beginning of an incident.public CreateResponsePlanRequest withActions(Collection<Action> actions)
The actions that the response plan starts at the beginning of an incident.
actions
- The actions that the response plan starts at the beginning of an incident.public void setChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
chatChannel
- The Chatbot chat channel used for collaboration during an incident.public ChatChannel getChatChannel()
The Chatbot chat channel used for collaboration during an incident.
public CreateResponsePlanRequest withChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
chatChannel
- The Chatbot chat channel used for collaboration during an incident.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 CreateResponsePlanRequest 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 setDisplayName(String displayName)
The long format of the response plan name. This field can contain spaces.
displayName
- The long format of the response plan name. This field can contain spaces.public String getDisplayName()
The long format of the response plan name. This field can contain spaces.
public CreateResponsePlanRequest withDisplayName(String displayName)
The long format of the response plan name. This field can contain spaces.
displayName
- The long format of the response plan name. This field can contain spaces.public List<String> getEngagements()
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
public void setEngagements(Collection<String> engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
engagements
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during
an incident.public CreateResponsePlanRequest withEngagements(String... engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
NOTE: This method appends the values to the existing list (if any). Use
setEngagements(java.util.Collection)
or withEngagements(java.util.Collection)
if you want to
override the existing values.
engagements
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during
an incident.public CreateResponsePlanRequest withEngagements(Collection<String> engagements)
The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.
engagements
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during
an incident.public void setIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create an incident when using this response plan.
incidentTemplate
- Details used to create an incident when using this response plan.public IncidentTemplate getIncidentTemplate()
Details used to create an incident when using this response plan.
public CreateResponsePlanRequest withIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create an incident when using this response plan.
incidentTemplate
- Details used to create an incident when using this response plan.public List<Integration> getIntegrations()
Information about third-party services integrated into the response plan.
public void setIntegrations(Collection<Integration> integrations)
Information about third-party services integrated into the response plan.
integrations
- Information about third-party services integrated into the response plan.public CreateResponsePlanRequest withIntegrations(Integration... integrations)
Information about third-party services integrated into the response plan.
NOTE: This method appends the values to the existing list (if any). Use
setIntegrations(java.util.Collection)
or withIntegrations(java.util.Collection)
if you want to
override the existing values.
integrations
- Information about third-party services integrated into the response plan.public CreateResponsePlanRequest withIntegrations(Collection<Integration> integrations)
Information about third-party services integrated into the response plan.
integrations
- Information about third-party services integrated into the response plan.public void setName(String name)
The short format name of the response plan. Can't include spaces.
name
- The short format name of the response plan. Can't include spaces.public String getName()
The short format name of the response plan. Can't include spaces.
public CreateResponsePlanRequest withName(String name)
The short format name of the response plan. Can't include spaces.
name
- The short format name of the response plan. Can't include spaces.public Map<String,String> getTags()
A list of tags that you are adding to the response plan.
public void setTags(Map<String,String> tags)
A list of tags that you are adding to the response plan.
tags
- A list of tags that you are adding to the response plan.public CreateResponsePlanRequest withTags(Map<String,String> tags)
A list of tags that you are adding to the response plan.
tags
- A list of tags that you are adding to the response plan.public CreateResponsePlanRequest addTagsEntry(String key, String value)
public CreateResponsePlanRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateResponsePlanRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()