Class CfnRotationPropsMixin.WeeklySettingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ssmcontacts.CfnRotationPropsMixin.WeeklySettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotationPropsMixin.WeeklySettingProperty>
- Enclosing interface:
CfnRotationPropsMixin.WeeklySettingProperty
@Stability(Stable)
public static final class CfnRotationPropsMixin.WeeklySettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotationPropsMixin.WeeklySettingProperty>
A builder for
CfnRotationPropsMixin.WeeklySettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRotationPropsMixin.WeeklySettingProperty.getDayOfWeek()handOffTime(String handOffTime) Sets the value ofCfnRotationPropsMixin.WeeklySettingProperty.getHandOffTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfWeek
@Stability(Stable) public CfnRotationPropsMixin.WeeklySettingProperty.Builder dayOfWeek(String dayOfWeek) Sets the value ofCfnRotationPropsMixin.WeeklySettingProperty.getDayOfWeek()- Parameters:
dayOfWeek- The day of the week when weekly recurring on-call shift rotations begins.- Returns:
this
-
handOffTime
@Stability(Stable) public CfnRotationPropsMixin.WeeklySettingProperty.Builder handOffTime(String handOffTime) Sets the value ofCfnRotationPropsMixin.WeeklySettingProperty.getHandOffTime()- Parameters:
handOffTime- The time of day when a weekly recurring on-call shift rotation begins.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRotationPropsMixin.WeeklySettingProperty>- Returns:
- a new instance of
CfnRotationPropsMixin.WeeklySettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-