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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnRotation.RecurrenceSettingsPropertystatic final classAn implementation forCfnRotation.RecurrenceSettingsProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Information about on-call rotations that recur daily.default ObjectInformation about on-call rotations that recur monthly.The number of contacts, or shift team members designated to be on call concurrently during a shift.The number of days, weeks, or months a single rotation lasts.default ObjectInformation about the days of the week included in on-call rotation coverage.default ObjectInformation about on-call rotations that recur weekly.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
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
2designates that two of them are on call at any given time.- See Also:
-
getRecurrenceMultiplier
The number of days, weeks, or months a single rotation lasts.- See Also:
-
getDailySettings
Information about on-call rotations that recur daily.- See Also:
-
getMonthlySettings
Information about on-call rotations that recur monthly.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRotation.MonthlySettingProperty>- See Also:
-
getShiftCoverages
Information about the days of the week included in on-call rotation coverage.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRotation.ShiftCoverageProperty>- See Also:
-
getWeeklySettings
Information about on-call rotations that recur weekly.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnRotation.WeeklySettingProperty>- See Also:
-
builder
-