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