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