@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetResponsePlanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetResponsePlanResult() |
Modifier and Type | Method and Description |
---|---|
GetResponsePlanResult |
clone() |
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions that this response plan takes at the beginning of the incident.
|
String |
getArn()
The ARN of the response plan.
|
ChatChannel |
getChatChannel()
The Chatbot chat channel used for collaboration during an incident.
|
String |
getDisplayName()
The long format name of the response plan.
|
List<String> |
getEngagements()
The contacts and escalation plans that the response plan engages during an incident.
|
IncidentTemplate |
getIncidentTemplate()
Details used to create the incident when using this response plan.
|
String |
getName()
The short format name of the response plan.
|
int |
hashCode() |
void |
setActions(Collection<Action> actions)
The actions that this response plan takes at the beginning of the incident.
|
void |
setArn(String arn)
The ARN of the response plan.
|
void |
setChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
|
void |
setDisplayName(String displayName)
The long format name of the response plan.
|
void |
setEngagements(Collection<String> engagements)
The contacts and escalation plans that the response plan engages during an incident.
|
void |
setIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create the incident when using this response plan.
|
void |
setName(String name)
The short format name of the response plan.
|
String |
toString()
Returns a string representation of this object.
|
GetResponsePlanResult |
withActions(Action... actions)
The actions that this response plan takes at the beginning of the incident.
|
GetResponsePlanResult |
withActions(Collection<Action> actions)
The actions that this response plan takes at the beginning of the incident.
|
GetResponsePlanResult |
withArn(String arn)
The ARN of the response plan.
|
GetResponsePlanResult |
withChatChannel(ChatChannel chatChannel)
The Chatbot chat channel used for collaboration during an incident.
|
GetResponsePlanResult |
withDisplayName(String displayName)
The long format name of the response plan.
|
GetResponsePlanResult |
withEngagements(Collection<String> engagements)
The contacts and escalation plans that the response plan engages during an incident.
|
GetResponsePlanResult |
withEngagements(String... engagements)
The contacts and escalation plans that the response plan engages during an incident.
|
GetResponsePlanResult |
withIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create the incident when using this response plan.
|
GetResponsePlanResult |
withName(String name)
The short format name of the response plan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Action> getActions()
The actions that this response plan takes at the beginning of the incident.
public void setActions(Collection<Action> actions)
The actions that this response plan takes at the beginning of the incident.
actions
- The actions that this response plan takes at the beginning of the incident.public GetResponsePlanResult withActions(Action... actions)
The actions that this response plan takes at the beginning of the 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 this response plan takes at the beginning of the incident.public GetResponsePlanResult withActions(Collection<Action> actions)
The actions that this response plan takes at the beginning of the incident.
actions
- The actions that this response plan takes at the beginning of the incident.public void setArn(String arn)
The ARN of the response plan.
arn
- The ARN of the response plan.public String getArn()
The ARN of the response plan.
public GetResponsePlanResult withArn(String arn)
The ARN of the response plan.
arn
- The ARN of the response plan.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 GetResponsePlanResult 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 setDisplayName(String displayName)
The long format name of the response plan. Can contain spaces.
displayName
- The long format name of the response plan. Can contain spaces.public String getDisplayName()
The long format name of the response plan. Can contain spaces.
public GetResponsePlanResult withDisplayName(String displayName)
The long format name of the response plan. Can contain spaces.
displayName
- The long format name of the response plan. Can contain spaces.public List<String> getEngagements()
The contacts and escalation plans that the response plan engages during an incident.
public void setEngagements(Collection<String> engagements)
The contacts and escalation plans that the response plan engages during an incident.
engagements
- The contacts and escalation plans that the response plan engages during an incident.public GetResponsePlanResult withEngagements(String... engagements)
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 contacts and escalation plans that the response plan engages during an incident.public GetResponsePlanResult withEngagements(Collection<String> engagements)
The contacts and escalation plans that the response plan engages during an incident.
engagements
- The contacts and escalation plans that the response plan engages during an incident.public void setIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create the incident when using this response plan.
incidentTemplate
- Details used to create the incident when using this response plan.public IncidentTemplate getIncidentTemplate()
Details used to create the incident when using this response plan.
public GetResponsePlanResult withIncidentTemplate(IncidentTemplate incidentTemplate)
Details used to create the incident when using this response plan.
incidentTemplate
- Details used to create the incident when using this response plan.public void setName(String name)
The short format name of the response plan. The name can't contain spaces.
name
- The short format name of the response plan. The name can't contain spaces.public String getName()
The short format name of the response plan. The name can't contain spaces.
public GetResponsePlanResult withName(String name)
The short format name of the response plan. The name can't contain spaces.
name
- The short format name of the response plan. The name can't contain spaces.public String toString()
toString
in class Object
Object.toString()
public GetResponsePlanResult clone()