Class CfnResponsePlan.Builder

java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlan>
Enclosing class:
CfnResponsePlan

@Stability(Stable) public static final class CfnResponsePlan.Builder extends Object implements software.amazon.jsii.Builder<CfnResponsePlan>
A fluent builder for CfnResponsePlan.
  • Method Details

    • create

      @Stability(Stable) public static CfnResponsePlan.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnResponsePlan.Builder.
    • incidentTemplate

      @Stability(Stable) public CfnResponsePlan.Builder incidentTemplate(IResolvable incidentTemplate)
      Details used to create an incident when using this response plan.

      Parameters:
      incidentTemplate - Details used to create an incident when using this response plan. This parameter is required.
      Returns:
      this
    • incidentTemplate

      @Stability(Stable) public CfnResponsePlan.Builder incidentTemplate(CfnResponsePlan.IncidentTemplateProperty incidentTemplate)
      Details used to create an incident when using this response plan.

      Parameters:
      incidentTemplate - Details used to create an incident when using this response plan. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnResponsePlan.Builder name(String name)
      The name of the response plan.

      Parameters:
      name - The name of the response plan. This parameter is required.
      Returns:
      this
    • actions

      @Stability(Stable) public CfnResponsePlan.Builder actions(IResolvable actions)
      The actions that the response plan starts at the beginning of an incident.

      Parameters:
      actions - The actions that the response plan starts at the beginning of an incident. This parameter is required.
      Returns:
      this
    • actions

      @Stability(Stable) public CfnResponsePlan.Builder actions(List<? extends Object> actions)
      The actions that the response plan starts at the beginning of an incident.

      Parameters:
      actions - The actions that the response plan starts at the beginning of an incident. This parameter is required.
      Returns:
      this
    • chatChannel

      @Stability(Stable) public CfnResponsePlan.Builder chatChannel(IResolvable chatChannel)
      The AWS Chatbot chat channel used for collaboration during an incident.

      Parameters:
      chatChannel - The AWS Chatbot chat channel used for collaboration during an incident. This parameter is required.
      Returns:
      this
    • chatChannel

      @Stability(Stable) public CfnResponsePlan.Builder chatChannel(CfnResponsePlan.ChatChannelProperty chatChannel)
      The AWS Chatbot chat channel used for collaboration during an incident.

      Parameters:
      chatChannel - The AWS Chatbot chat channel used for collaboration during an incident. This parameter is required.
      Returns:
      this
    • displayName

      @Stability(Stable) public CfnResponsePlan.Builder displayName(String displayName)
      The human readable name of the response plan.

      Parameters:
      displayName - The human readable name of the response plan. This parameter is required.
      Returns:
      this
    • engagements

      @Stability(Stable) public CfnResponsePlan.Builder engagements(List<String> engagements)
      The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident.

      Parameters:
      engagements - The Amazon Resource Name (ARN) for the contacts and escalation plans that the response plan engages during an incident. This parameter is required.
      Returns:
      this
    • integrations

      @Stability(Stable) public CfnResponsePlan.Builder integrations(IResolvable integrations)
      Information about third-party services integrated into the response plan.

      Parameters:
      integrations - Information about third-party services integrated into the response plan. This parameter is required.
      Returns:
      this
    • integrations

      @Stability(Stable) public CfnResponsePlan.Builder integrations(List<? extends Object> integrations)
      Information about third-party services integrated into the response plan.

      Parameters:
      integrations - Information about third-party services integrated into the response plan. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnResponsePlan.Builder tags(List<? extends CfnTag> tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnResponsePlan build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnResponsePlan>
      Returns:
      a newly built instance of CfnResponsePlan.