Interface RecurrenceSettings.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RecurrenceSettings.Builder,RecurrenceSettings>,SdkBuilder<RecurrenceSettings.Builder,RecurrenceSettings>,SdkPojo
- Enclosing class:
- RecurrenceSettings
public static interface RecurrenceSettings.Builder extends SdkPojo, CopyableBuilder<RecurrenceSettings.Builder,RecurrenceSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RecurrenceSettings.BuilderdailySettings(Collection<HandOffTime> dailySettings)Information about on-call rotations that recur daily.RecurrenceSettings.BuilderdailySettings(Consumer<HandOffTime.Builder>... dailySettings)Information about on-call rotations that recur daily.RecurrenceSettings.BuilderdailySettings(HandOffTime... dailySettings)Information about on-call rotations that recur daily.RecurrenceSettings.BuildermonthlySettings(Collection<MonthlySetting> monthlySettings)Information about on-call rotations that recur monthly.RecurrenceSettings.BuildermonthlySettings(Consumer<MonthlySetting.Builder>... monthlySettings)Information about on-call rotations that recur monthly.RecurrenceSettings.BuildermonthlySettings(MonthlySetting... monthlySettings)Information about on-call rotations that recur monthly.RecurrenceSettings.BuildernumberOfOnCalls(Integer numberOfOnCalls)The number of contacts, or shift team members designated to be on call concurrently during a shift.RecurrenceSettings.BuilderrecurrenceMultiplier(Integer recurrenceMultiplier)The number of days, weeks, or months a single rotation lasts.RecurrenceSettings.BuildershiftCoverages(Map<DayOfWeek,? extends Collection<CoverageTime>> shiftCoverages)Information about the days of the week included in on-call rotation coverage.RecurrenceSettings.BuildershiftCoveragesWithStrings(Map<String,? extends Collection<CoverageTime>> shiftCoverages)Information about the days of the week included in on-call rotation coverage.RecurrenceSettings.BuilderweeklySettings(Collection<WeeklySetting> weeklySettings)Information about on-call rotations that recur weekly.RecurrenceSettings.BuilderweeklySettings(Consumer<WeeklySetting.Builder>... weeklySettings)Information about on-call rotations that recur weekly.RecurrenceSettings.BuilderweeklySettings(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 Detail
-
monthlySettings
RecurrenceSettings.Builder monthlySettings(Collection<MonthlySetting> 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
RecurrenceSettings.Builder monthlySettings(MonthlySetting... 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
RecurrenceSettings.Builder monthlySettings(Consumer<MonthlySetting.Builder>... 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 to#monthlySettings(List.) - 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:
#monthlySettings(java.util.Collection)
-
weeklySettings
RecurrenceSettings.Builder weeklySettings(Collection<WeeklySetting> 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
RecurrenceSettings.Builder weeklySettings(WeeklySetting... 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
RecurrenceSettings.Builder weeklySettings(Consumer<WeeklySetting.Builder>... 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 to#weeklySettings(List.) - 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:
#weeklySettings(java.util.Collection)
-
dailySettings
RecurrenceSettings.Builder dailySettings(Collection<HandOffTime> 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
RecurrenceSettings.Builder dailySettings(HandOffTime... 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
RecurrenceSettings.Builder dailySettings(Consumer<HandOffTime.Builder>... 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 to#dailySettings(List.) - 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:
#dailySettings(java.util.Collection)
-
numberOfOnCalls
RecurrenceSettings.Builder numberOfOnCalls(Integer 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
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 containing 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 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
RecurrenceSettings.Builder recurrenceMultiplier(Integer 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.
-
-