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 that the on-call rotation coverage includes.shiftCoveragesWithStrings(Map<String, ? extends Collection<CoverageTime>> shiftCoverages) Information about the days of the week that the on-call rotation coverage includes.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaMonthlySetting.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaWeeklySetting.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaHandOffTime.builder().When the
Consumercompletes,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 that contains ten contacts, a value of
2designates 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 that contains ten contacts, a value of2designates 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 that the on-call rotation coverage includes.
- Parameters:
shiftCoverages- Information about the days of the week that the on-call rotation coverage includes.- 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 that the on-call rotation coverage includes.
- Parameters:
shiftCoverages- Information about the days of the week that the on-call rotation coverage includes.- 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.
-