Class CfnContactChannel.Builder

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

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

    • create

      @Stability(Stable) public static CfnContactChannel.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 CfnContactChannel.Builder.
    • channelAddress

      @Stability(Stable) public CfnContactChannel.Builder channelAddress(String channelAddress)
      The details that Incident Manager uses when trying to engage the contact channel.

      Parameters:
      channelAddress - The details that Incident Manager uses when trying to engage the contact channel. This parameter is required.
      Returns:
      this
    • channelName

      @Stability(Stable) public CfnContactChannel.Builder channelName(String channelName)
      The name of the contact channel.

      Parameters:
      channelName - The name of the contact channel. This parameter is required.
      Returns:
      this
    • channelType

      @Stability(Stable) public CfnContactChannel.Builder channelType(String channelType)
      The type of the contact channel. Incident Manager supports three contact methods:.

      • SMS
      • VOICE
      • EMAIL

      Parameters:
      channelType - The type of the contact channel. Incident Manager supports three contact methods:. This parameter is required.
      Returns:
      this
    • contactId

      @Stability(Stable) public CfnContactChannel.Builder contactId(String contactId)
      The Amazon Resource Name (ARN) of the contact you are adding the contact channel to.

      Parameters:
      contactId - The Amazon Resource Name (ARN) of the contact you are adding the contact channel to. This parameter is required.
      Returns:
      this
    • deferActivation

      @Stability(Stable) public CfnContactChannel.Builder deferActivation(Boolean deferActivation)
      If you want to activate the channel at a later time, you can choose to defer activation.

      Incident Manager can't engage your contact channel until it has been activated.

      Parameters:
      deferActivation - If you want to activate the channel at a later time, you can choose to defer activation. This parameter is required.
      Returns:
      this
    • deferActivation

      @Stability(Stable) public CfnContactChannel.Builder deferActivation(IResolvable deferActivation)
      If you want to activate the channel at a later time, you can choose to defer activation.

      Incident Manager can't engage your contact channel until it has been activated.

      Parameters:
      deferActivation - If you want to activate the channel at a later time, you can choose to defer activation. This parameter is required.
      Returns:
      this
    • build

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