Class CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty>
- Enclosing interface:
CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty
@Stability(Stable)
public static final class CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getDay()
endTime
(IResolvable endTime) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getEndTime()
Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getEndTime()
startTime
(IResolvable startTime)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
day
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder day(String day) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getDay()
- Parameters:
day
- The day that the hours of operation override applies to. This parameter is required.- Returns:
this
-
endTime
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder endTime(IResolvable endTime) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getEndTime()
- Parameters:
endTime
- The end time that your contact center closes if overrides are applied. This parameter is required.- Returns:
this
-
endTime
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder endTime(CfnHoursOfOperation.OverrideTimeSliceProperty endTime) Sets the value ofCfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.getEndTime()
- Parameters:
endTime
- The end time that your contact center closes if overrides are applied. This parameter is required.- Returns:
this
-
startTime
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder startTime(IResolvable startTime) - Parameters:
startTime
- The start time when your contact center opens if overrides are applied. This parameter is required.- Returns:
this
-
startTime
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty.Builder startTime(CfnHoursOfOperation.OverrideTimeSliceProperty startTime) - Parameters:
startTime
- The start time when your contact center opens if overrides are applied. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty>
- Returns:
- a new instance of
CfnHoursOfOperation.HoursOfOperationOverrideConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-