Class CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.odb.CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty>
- Enclosing interface:
CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty
@Stability(Stable)
public static final class CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.daysOfWeek(List<String> daysOfWeek) hoursOfDay(List<? extends Number> hoursOfDay) hoursOfDay(IResolvable hoursOfDay) leadTimeInWeeks(Number leadTimeInWeeks) preference(String preference) weeksOfMonth(List<? extends Number> weeksOfMonth) weeksOfMonth(IResolvable weeksOfMonth)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
daysOfWeek
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder daysOfWeek(List<String> daysOfWeek) - Parameters:
daysOfWeek- The days of the week when maintenance can be performed.- Returns:
this
-
hoursOfDay
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder hoursOfDay(List<? extends Number> hoursOfDay) - Parameters:
hoursOfDay- The hours of the day when maintenance can be performed.- Returns:
this
-
hoursOfDay
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder hoursOfDay(IResolvable hoursOfDay) - Parameters:
hoursOfDay- The hours of the day when maintenance can be performed.- Returns:
this
-
leadTimeInWeeks
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder leadTimeInWeeks(Number leadTimeInWeeks) Sets the value ofCfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.getLeadTimeInWeeks()- Parameters:
leadTimeInWeeks- The lead time in weeks before the maintenance window.- Returns:
this
-
months
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder months(List<String> months) - Parameters:
months- The months when maintenance can be performed.- Returns:
this
-
preference
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder preference(String preference) - Parameters:
preference- The preference for the maintenance window scheduling.- Returns:
this
-
weeksOfMonth
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder weeksOfMonth(List<? extends Number> weeksOfMonth) - Parameters:
weeksOfMonth- The weeks of the month when maintenance can be performed.- Returns:
this
-
weeksOfMonth
@Stability(Stable) public CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty.Builder weeksOfMonth(IResolvable weeksOfMonth) - Parameters:
weeksOfMonth- The weeks of the month when maintenance can be performed.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty>- Returns:
- a new instance of
CfnCloudAutonomousVmClusterPropsMixin.MaintenanceWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-