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