Class CfnContactProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • alias

      @Stability(Stable) public CfnContactProps.Builder alias(String alias)
      Sets the value of CfnContactProps.getAlias()
      Parameters:
      alias - The unique and identifiable alias of the contact or escalation plan. This parameter is required.
      Returns:
      this
    • displayName

      @Stability(Stable) public CfnContactProps.Builder displayName(String displayName)
      Parameters:
      displayName - The full name of the contact or escalation plan. This parameter is required.
      Returns:
      this
    • type

      @Stability(Stable) public CfnContactProps.Builder type(String type)
      Sets the value of CfnContactProps.getType()
      Parameters:
      type - The type of contact. This parameter is required.
      • PERSONAL : A single, individual contact.
      • ESCALATION : An escalation plan.
      • ONCALL_SCHEDULE : An on-call schedule.
      Returns:
      this
    • plan

      @Stability(Stable) public CfnContactProps.Builder plan(IResolvable plan)
      Sets the value of CfnContactProps.getPlan()
      Parameters:
      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.
      Returns:
      this
    • plan

      @Stability(Stable) public CfnContactProps.Builder plan(List<? extends Object> plan)
      Sets the value of CfnContactProps.getPlan()
      Parameters:
      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.
      Returns:
      this
    • build

      @Stability(Stable) public CfnContactProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnContactProps>
      Returns:
      a new instance of CfnContactProps
      Throws:
      NullPointerException - if any required attribute was not provided