Class CfnHoursOfOperation.HoursOfOperationTimeSliceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnHoursOfOperation.HoursOfOperationTimeSliceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationTimeSliceProperty>
- Enclosing interface:
CfnHoursOfOperation.HoursOfOperationTimeSliceProperty
@Stability(Stable)
public static final class CfnHoursOfOperation.HoursOfOperationTimeSliceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationTimeSliceProperty>
A builder for
CfnHoursOfOperation.HoursOfOperationTimeSliceProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnHoursOfOperation.HoursOfOperationTimeSliceProperty.getHours()
Sets the value ofCfnHoursOfOperation.HoursOfOperationTimeSliceProperty.getMinutes()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
hours
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationTimeSliceProperty.Builder hours(Number hours) Sets the value ofCfnHoursOfOperation.HoursOfOperationTimeSliceProperty.getHours()
- Parameters:
hours
- The hours. This parameter is required.- Returns:
this
-
minutes
@Stability(Stable) public CfnHoursOfOperation.HoursOfOperationTimeSliceProperty.Builder minutes(Number minutes) Sets the value ofCfnHoursOfOperation.HoursOfOperationTimeSliceProperty.getMinutes()
- Parameters:
minutes
- The minutes. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnHoursOfOperation.HoursOfOperationTimeSliceProperty>
- Returns:
- a new instance of
CfnHoursOfOperation.HoursOfOperationTimeSliceProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-