Class CfnRotationPropsMixin.ShiftCoverageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnRotationPropsMixin.ShiftCoverageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotationPropsMixin.ShiftCoverageProperty>
- Enclosing interface:
CfnRotationPropsMixin.ShiftCoverageProperty
@Stability(Stable)
public static final class CfnRotationPropsMixin.ShiftCoverageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotationPropsMixin.ShiftCoverageProperty>
A builder for
CfnRotationPropsMixin.ShiftCoverageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.coverageTimes(List<? extends Object> coverageTimes) Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getCoverageTimes()coverageTimes(IResolvable coverageTimes) Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getCoverageTimes()Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getDayOfWeek()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
coverageTimes
@Stability(Stable) public CfnRotationPropsMixin.ShiftCoverageProperty.Builder coverageTimes(IResolvable coverageTimes) Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getCoverageTimes()- Parameters:
coverageTimes- The start and end times of the shift.- Returns:
this
-
coverageTimes
@Stability(Stable) public CfnRotationPropsMixin.ShiftCoverageProperty.Builder coverageTimes(List<? extends Object> coverageTimes) Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getCoverageTimes()- Parameters:
coverageTimes- The start and end times of the shift.- Returns:
this
-
dayOfWeek
@Stability(Stable) public CfnRotationPropsMixin.ShiftCoverageProperty.Builder dayOfWeek(String dayOfWeek) Sets the value ofCfnRotationPropsMixin.ShiftCoverageProperty.getDayOfWeek()- Parameters:
dayOfWeek- A list of days on which the schedule is active.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRotationPropsMixin.ShiftCoverageProperty>- Returns:
- a new instance of
CfnRotationPropsMixin.ShiftCoverageProperty - Throws:
NullPointerException- if any required attribute was not provided
-