Class CfnResponsePlanProps.Builder
java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnResponsePlanProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlanProps>
- Enclosing interface:
- CfnResponsePlanProps
@Stability(Stable)
public static final class CfnResponsePlanProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponsePlanProps>
A builder for
CfnResponsePlanProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnResponsePlanProps.getActions()
actions
(IResolvable actions) Sets the value ofCfnResponsePlanProps.getActions()
build()
Builds the configured instance.chatChannel
(IResolvable chatChannel) Sets the value ofCfnResponsePlanProps.getChatChannel()
chatChannel
(CfnResponsePlan.ChatChannelProperty chatChannel) Sets the value ofCfnResponsePlanProps.getChatChannel()
displayName
(String displayName) Sets the value ofCfnResponsePlanProps.getDisplayName()
engagements
(List<String> engagements) Sets the value ofCfnResponsePlanProps.getEngagements()
incidentTemplate
(IResolvable incidentTemplate) Sets the value ofCfnResponsePlanProps.getIncidentTemplate()
incidentTemplate
(CfnResponsePlan.IncidentTemplateProperty incidentTemplate) Sets the value ofCfnResponsePlanProps.getIncidentTemplate()
integrations
(List<? extends Object> integrations) Sets the value ofCfnResponsePlanProps.getIntegrations()
integrations
(IResolvable integrations) Sets the value ofCfnResponsePlanProps.getIntegrations()
Sets the value ofCfnResponsePlanProps.getName()
Sets the value ofCfnResponsePlanProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
incidentTemplate
@Stability(Stable) public CfnResponsePlanProps.Builder incidentTemplate(IResolvable incidentTemplate) Sets the value ofCfnResponsePlanProps.getIncidentTemplate()
- Parameters:
incidentTemplate
- Details used to create an incident when using this response plan. This parameter is required.- Returns:
this
-
incidentTemplate
@Stability(Stable) public CfnResponsePlanProps.Builder incidentTemplate(CfnResponsePlan.IncidentTemplateProperty incidentTemplate) Sets the value ofCfnResponsePlanProps.getIncidentTemplate()
- Parameters:
incidentTemplate
- Details used to create an incident when using this response plan. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnResponsePlanProps.getName()
- Parameters:
name
- The name of the response plan. This parameter is required.- Returns:
this
-
actions
Sets the value ofCfnResponsePlanProps.getActions()
- Parameters:
actions
- The actions that the response plan starts at the beginning of an incident.- Returns:
this
-
actions
Sets the value ofCfnResponsePlanProps.getActions()
- Parameters:
actions
- The actions that the response plan starts at the beginning of an incident.- Returns:
this
-
chatChannel
Sets the value ofCfnResponsePlanProps.getChatChannel()
- Parameters:
chatChannel
- The AWS Chatbot chat channel used for collaboration during an incident.- Returns:
this
-
chatChannel
@Stability(Stable) public CfnResponsePlanProps.Builder chatChannel(CfnResponsePlan.ChatChannelProperty chatChannel) Sets the value ofCfnResponsePlanProps.getChatChannel()
- Parameters:
chatChannel
- The AWS Chatbot chat channel used for collaboration during an incident.- Returns:
this
-
displayName
Sets the value ofCfnResponsePlanProps.getDisplayName()
- Parameters:
displayName
- The human readable name of the response plan.- Returns:
this
-
engagements
Sets the value ofCfnResponsePlanProps.getEngagements()
- Parameters:
engagements
- The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.- Returns:
this
-
integrations
Sets the value ofCfnResponsePlanProps.getIntegrations()
- Parameters:
integrations
- Information about third-party services integrated into the response plan.- Returns:
this
-
integrations
@Stability(Stable) public CfnResponsePlanProps.Builder integrations(List<? extends Object> integrations) Sets the value ofCfnResponsePlanProps.getIntegrations()
- Parameters:
integrations
- Information about third-party services integrated into the response plan.- Returns:
this
-
tags
Sets the value ofCfnResponsePlanProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnResponsePlanProps>
- Returns:
- a new instance of
CfnResponsePlanProps
- Throws:
NullPointerException
- if any required attribute was not provided
-