Interface CfnRotation.RecurrenceSettingsProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRotation.RecurrenceSettingsProperty.Jsii$Proxy
Enclosing class:
CfnRotation

@Stability(Stable) public static interface CfnRotation.RecurrenceSettingsProperty extends software.amazon.jsii.JsiiSerializable
Information about when an on-call rotation is in effect and how long the rotation period lasts.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.ssmcontacts.*;
 RecurrenceSettingsProperty recurrenceSettingsProperty = RecurrenceSettingsProperty.builder()
         .numberOfOnCalls(123)
         .recurrenceMultiplier(123)
         // the properties below are optional
         .dailySettings(List.of("dailySettings"))
         .monthlySettings(List.of(MonthlySettingProperty.builder()
                 .dayOfMonth(123)
                 .handOffTime("handOffTime")
                 .build()))
         .shiftCoverages(List.of(ShiftCoverageProperty.builder()
                 .coverageTimes(List.of(CoverageTimeProperty.builder()
                         .endTime("endTime")
                         .startTime("startTime")
                         .build()))
                 .dayOfWeek("dayOfWeek")
                 .build()))
         .weeklySettings(List.of(WeeklySettingProperty.builder()
                 .dayOfWeek("dayOfWeek")
                 .handOffTime("handOffTime")
                 .build()))
         .build();
 
  • Method Details

    • getNumberOfOnCalls

      @Stability(Stable) @NotNull Number getNumberOfOnCalls()
      The number of contacts, or shift team members designated to be on call concurrently during a shift.

      For example, in an on-call schedule that contains ten contacts, a value of 2 designates that two of them are on call at any given time.

    • getRecurrenceMultiplier

      @Stability(Stable) @NotNull Number getRecurrenceMultiplier()
      The number of days, weeks, or months a single rotation lasts.
    • getDailySettings

      @Stability(Stable) @Nullable default List<String> getDailySettings()
      Information about on-call rotations that recur daily.
    • getMonthlySettings

      @Stability(Stable) @Nullable default Object getMonthlySettings()
      Information about on-call rotations that recur monthly.
    • getShiftCoverages

      @Stability(Stable) @Nullable default Object getShiftCoverages()
      Information about the days of the week included in on-call rotation coverage.
    • getWeeklySettings

      @Stability(Stable) @Nullable default Object getWeeklySettings()
      Information about on-call rotations that recur weekly.
    • builder

      @Stability(Stable) static CfnRotation.RecurrenceSettingsProperty.Builder builder()
      Returns:
      a CfnRotation.RecurrenceSettingsProperty.Builder of CfnRotation.RecurrenceSettingsProperty