Interface HoursOfOperationConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HoursOfOperationConfig.Builder,
,HoursOfOperationConfig> SdkBuilder<HoursOfOperationConfig.Builder,
,HoursOfOperationConfig> SdkPojo
- Enclosing class:
HoursOfOperationConfig
public static interface HoursOfOperationConfig.Builder
extends SdkPojo, CopyableBuilder<HoursOfOperationConfig.Builder,HoursOfOperationConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe day that the hours of operation applies to.day
(HoursOfOperationDays day) The day that the hours of operation applies to.default HoursOfOperationConfig.Builder
endTime
(Consumer<HoursOfOperationTimeSlice.Builder> endTime) The end time that your contact center closes.endTime
(HoursOfOperationTimeSlice endTime) The end time that your contact center closes.default HoursOfOperationConfig.Builder
startTime
(Consumer<HoursOfOperationTimeSlice.Builder> startTime) The start time that your contact center opens.startTime
(HoursOfOperationTimeSlice startTime) The start time that your contact center opens.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
-
day
The day that the hours of operation applies to.
- Parameters:
day
- The day that the hours of operation applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
day
The day that the hours of operation applies to.
- Parameters:
day
- The day that the hours of operation applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The start time that your contact center opens.
- Parameters:
startTime
- The start time that your contact center opens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTime
default HoursOfOperationConfig.Builder startTime(Consumer<HoursOfOperationTimeSlice.Builder> startTime) The start time that your contact center opens.
This is a convenience method that creates an instance of theHoursOfOperationTimeSlice.Builder
avoiding the need to create one manually viaHoursOfOperationTimeSlice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTime(HoursOfOperationTimeSlice)
.- Parameters:
startTime
- a consumer that will call methods onHoursOfOperationTimeSlice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endTime
The end time that your contact center closes.
- Parameters:
endTime
- The end time that your contact center closes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The end time that your contact center closes.
This is a convenience method that creates an instance of theHoursOfOperationTimeSlice.Builder
avoiding the need to create one manually viaHoursOfOperationTimeSlice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendTime(HoursOfOperationTimeSlice)
.- Parameters:
endTime
- a consumer that will call methods onHoursOfOperationTimeSlice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-