Class CfnRotation.MonthlySettingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.CfnRotation.MonthlySettingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRotation.MonthlySettingProperty>
- Enclosing interface:
CfnRotation.MonthlySettingProperty
@Stability(Stable)
public static final class CfnRotation.MonthlySettingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRotation.MonthlySettingProperty>
A builder for
CfnRotation.MonthlySettingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dayOfMonth(Number dayOfMonth) Sets the value ofCfnRotation.MonthlySettingProperty.getDayOfMonth()handOffTime(String handOffTime) Sets the value ofCfnRotation.MonthlySettingProperty.getHandOffTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dayOfMonth
Sets the value ofCfnRotation.MonthlySettingProperty.getDayOfMonth()- Parameters:
dayOfMonth- The day of the month when monthly recurring on-call rotations begin. This parameter is required.- Returns:
this
-
handOffTime
@Stability(Stable) public CfnRotation.MonthlySettingProperty.Builder handOffTime(String handOffTime) Sets the value ofCfnRotation.MonthlySettingProperty.getHandOffTime()- Parameters:
handOffTime- The time of day when a monthly 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.MonthlySettingProperty>- Returns:
- a new instance of
CfnRotation.MonthlySettingProperty - Throws:
NullPointerException- if any required attribute was not provided
-