Interface OperationalHour.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<OperationalHour.Builder,
,OperationalHour> SdkBuilder<OperationalHour.Builder,
,OperationalHour> SdkPojo
- Enclosing class:
OperationalHour
@Mutable
@NotThreadSafe
public static interface OperationalHour.Builder
extends SdkPojo, CopyableBuilder<OperationalHour.Builder,OperationalHour>
-
Method Summary
Modifier and TypeMethodDescriptiondefault OperationalHour.Builder
The end time that your contact center closes.end
(OverrideTimeSlice end) The end time that your contact center closes.default OperationalHour.Builder
start
(Consumer<OverrideTimeSlice.Builder> start) The start time that your contact center opens.start
(OverrideTimeSlice start) 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, sdkFieldNameToField, sdkFields
-
Method Details
-
start
The start time that your contact center opens.
- Parameters:
start
- The start time that your contact center opens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
start
The start time that your contact center opens.
This is a convenience method that creates an instance of theOverrideTimeSlice.Builder
avoiding the need to create one manually viaOverrideTimeSlice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostart(OverrideTimeSlice)
.- Parameters:
start
- a consumer that will call methods onOverrideTimeSlice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
end
The end time that your contact center closes.
- Parameters:
end
- The end time that your contact center closes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
end
The end time that your contact center closes.
This is a convenience method that creates an instance of theOverrideTimeSlice.Builder
avoiding the need to create one manually viaOverrideTimeSlice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toend(OverrideTimeSlice)
.- Parameters:
end
- a consumer that will call methods onOverrideTimeSlice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-