Class CfnContact.Builder

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

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

    • create

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

      @Stability(Stable) public CfnContact.Builder alias(String alias)
      The unique and identifiable alias of the contact or escalation plan.

      Parameters:
      alias - The unique and identifiable alias of the contact or escalation plan. This parameter is required.
      Returns:
      this
    • displayName

      @Stability(Stable) public CfnContact.Builder displayName(String displayName)
      The full name of the contact or escalation plan.

      Parameters:
      displayName - The full name of the contact or escalation plan. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnContact.Builder type(String type)
      Refers to the type of contact:.

      • PERSONAL : A single, individual contact.
      • ESCALATION : An escalation plan.
      • ONCALL_SCHEDULE : An on-call schedule.

      Parameters:
      type - Refers to the type of contact:. This parameter is required.
      Returns:
      this
    • plan

      @Stability(Stable) public CfnContact.Builder plan(IResolvable plan)
      A list of stages.

      A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.

      Parameters:
      plan - A list of stages. This parameter is required.
      Returns:
      this
    • plan

      @Stability(Stable) public CfnContact.Builder plan(List<? extends Object> plan)
      A list of stages.

      A contact has an engagement plan with stages that contact specified contact channels. An escalation plan uses stages that contact specified contacts.

      Parameters:
      plan - A list of stages. This parameter is required.
      Returns:
      this
    • build

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