Class CfnRotation.Builder

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

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

    • create

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

      @Stability(Stable) public CfnRotation.Builder contactIds(List<String> contactIds)
      The Amazon Resource Names (ARNs) of the contacts to add to the rotation.

      The order in which you list the contacts is their shift order in the rotation schedule.

      Parameters:
      contactIds - The Amazon Resource Names (ARNs) of the contacts to add to the rotation. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnRotation.Builder name(String name)
      The name for the rotation.

      Parameters:
      name - The name for the rotation. This parameter is required.
      Returns:
      this
    • recurrence

      @Stability(Stable) public CfnRotation.Builder recurrence(IResolvable recurrence)
      Information about the rule that specifies when shift team members rotate.

      Parameters:
      recurrence - Information about the rule that specifies when shift team members rotate. This parameter is required.
      Returns:
      this
    • recurrence

      @Stability(Stable) public CfnRotation.Builder recurrence(CfnRotation.RecurrenceSettingsProperty recurrence)
      Information about the rule that specifies when shift team members rotate.

      Parameters:
      recurrence - Information about the rule that specifies when shift team members rotate. This parameter is required.
      Returns:
      this
    • startTime

      @Stability(Stable) public CfnRotation.Builder startTime(String startTime)
      The date and time the rotation goes into effect.

      Parameters:
      startTime - The date and time the rotation goes into effect. This parameter is required.
      Returns:
      this
    • timeZoneId

      @Stability(Stable) public CfnRotation.Builder timeZoneId(String timeZoneId)
      The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format.

      For example: "America/Los_Angeles", "UTC", or "Asia/Seoul". For more information, see the Time Zone Database on the IANA website.

      Parameters:
      timeZoneId - The time zone to base the rotation’s activity on, in Internet Assigned Numbers Authority (IANA) format. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnRotation.Builder tags(List<? extends CfnTag> tags)
      Optional metadata to assign to the rotation.

      Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For more information, see Tagging Incident Manager resources in the Incident Manager User Guide .

      Parameters:
      tags - Optional metadata to assign to the rotation. This parameter is required.
      Returns:
      this
    • build

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