Interface RecurrenceSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecurrenceSettings.Builder,
,RecurrenceSettings> SdkBuilder<RecurrenceSettings.Builder,
,RecurrenceSettings> SdkPojo
- Enclosing class:
RecurrenceSettings
-
Method Summary
Modifier and TypeMethodDescriptiondailySettings
(Collection<HandOffTime> dailySettings) Information about on-call rotations that recur daily.dailySettings
(Consumer<HandOffTime.Builder>... dailySettings) Information about on-call rotations that recur daily.dailySettings
(HandOffTime... dailySettings) Information about on-call rotations that recur daily.monthlySettings
(Collection<MonthlySetting> monthlySettings) Information about on-call rotations that recur monthly.monthlySettings
(Consumer<MonthlySetting.Builder>... monthlySettings) Information about on-call rotations that recur monthly.monthlySettings
(MonthlySetting... monthlySettings) Information about on-call rotations that recur monthly.numberOfOnCalls
(Integer numberOfOnCalls) The number of contacts, or shift team members designated to be on call concurrently during a shift.recurrenceMultiplier
(Integer recurrenceMultiplier) The number of days, weeks, or months a single rotation lasts.shiftCoverages
(Map<DayOfWeek, ? extends Collection<CoverageTime>> shiftCoverages) Information about the days of the week included in on-call rotation coverage.shiftCoveragesWithStrings
(Map<String, ? extends Collection<CoverageTime>> shiftCoverages) Information about the days of the week included in on-call rotation coverage.weeklySettings
(Collection<WeeklySetting> weeklySettings) Information about on-call rotations that recur weekly.weeklySettings
(Consumer<WeeklySetting.Builder>... weeklySettings) Information about on-call rotations that recur weekly.weeklySettings
(WeeklySetting... weeklySettings) Information about on-call rotations that recur weekly.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
monthlySettings
Information about on-call rotations that recur monthly.
- Parameters:
monthlySettings
- Information about on-call rotations that recur monthly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlySettings
Information about on-call rotations that recur monthly.
- Parameters:
monthlySettings
- Information about on-call rotations that recur monthly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlySettings
Information about on-call rotations that recur monthly.
This is a convenience method that creates an instance of theMonthlySetting.Builder
avoiding the need to create one manually viaMonthlySetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonthlySettings(List<MonthlySetting>)
.- Parameters:
monthlySettings
- a consumer that will call methods onMonthlySetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
weeklySettings
Information about on-call rotations that recur weekly.
- Parameters:
weeklySettings
- Information about on-call rotations that recur weekly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weeklySettings
Information about on-call rotations that recur weekly.
- Parameters:
weeklySettings
- Information about on-call rotations that recur weekly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
weeklySettings
Information about on-call rotations that recur weekly.
This is a convenience method that creates an instance of theWeeklySetting.Builder
avoiding the need to create one manually viaWeeklySetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toweeklySettings(List<WeeklySetting>)
.- Parameters:
weeklySettings
- a consumer that will call methods onWeeklySetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dailySettings
Information about on-call rotations that recur daily.
- Parameters:
dailySettings
- Information about on-call rotations that recur daily.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailySettings
Information about on-call rotations that recur daily.
- Parameters:
dailySettings
- Information about on-call rotations that recur daily.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dailySettings
Information about on-call rotations that recur daily.
This is a convenience method that creates an instance of theHandOffTime.Builder
avoiding the need to create one manually viaHandOffTime.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todailySettings(List<HandOffTime>)
.- Parameters:
dailySettings
- a consumer that will call methods onHandOffTime.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberOfOnCalls
The number of contacts, or shift team members designated to be on call concurrently during a shift. For example, in an on-call schedule containing ten contacts, a value of
2
designates that two of them are on call at any given time.- Parameters:
numberOfOnCalls
- The number of contacts, or shift team members designated to be on call concurrently during a shift. For example, in an on-call schedule containing ten contacts, a value of2
designates that two of them are on call at any given time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shiftCoveragesWithStrings
RecurrenceSettings.Builder shiftCoveragesWithStrings(Map<String, ? extends Collection<CoverageTime>> shiftCoverages) Information about the days of the week included in on-call rotation coverage.
- Parameters:
shiftCoverages
- Information about the days of the week included in on-call rotation coverage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shiftCoverages
RecurrenceSettings.Builder shiftCoverages(Map<DayOfWeek, ? extends Collection<CoverageTime>> shiftCoverages) Information about the days of the week included in on-call rotation coverage.
- Parameters:
shiftCoverages
- Information about the days of the week included in on-call rotation coverage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recurrenceMultiplier
The number of days, weeks, or months a single rotation lasts.
- Parameters:
recurrenceMultiplier
- The number of days, weeks, or months a single rotation lasts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-