Class CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.odb.CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty>
- Enclosing interface:
CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty
@Stability(Stable)
public static final class CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.customActionTimeoutInMins(Number customActionTimeoutInMins) daysOfWeek(List<String> daysOfWeek) hoursOfDay(List<? extends Number> hoursOfDay) hoursOfDay(IResolvable hoursOfDay) isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled) isCustomActionTimeoutEnabled(IResolvable isCustomActionTimeoutEnabled) leadTimeInWeeks(Number leadTimeInWeeks) patchingMode(String patchingMode) preference(String preference) weeksOfMonth(List<? extends Number> weeksOfMonth) weeksOfMonth(IResolvable weeksOfMonth)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
customActionTimeoutInMins
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder customActionTimeoutInMins(Number customActionTimeoutInMins) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getCustomActionTimeoutInMins()- Parameters:
customActionTimeoutInMins- The custom action timeout in minutes for the maintenance window.- Returns:
this
-
daysOfWeek
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder daysOfWeek(List<String> daysOfWeek) - Parameters:
daysOfWeek- The days of the week when maintenance can be performed.- Returns:
this
-
hoursOfDay
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.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 CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder hoursOfDay(IResolvable hoursOfDay) - Parameters:
hoursOfDay- The hours of the day when maintenance can be performed.- Returns:
this
-
isCustomActionTimeoutEnabled
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getIsCustomActionTimeoutEnabled()- Parameters:
isCustomActionTimeoutEnabled- Indicates whether custom action timeout is enabled for the maintenance window.- Returns:
this
-
isCustomActionTimeoutEnabled
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder isCustomActionTimeoutEnabled(IResolvable isCustomActionTimeoutEnabled) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getIsCustomActionTimeoutEnabled()- Parameters:
isCustomActionTimeoutEnabled- Indicates whether custom action timeout is enabled for the maintenance window.- Returns:
this
-
leadTimeInWeeks
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder leadTimeInWeeks(Number leadTimeInWeeks) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getLeadTimeInWeeks()- Parameters:
leadTimeInWeeks- The lead time in weeks before the maintenance window.- Returns:
this
-
months
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder months(List<String> months) - Parameters:
months- The months when maintenance can be performed.- Returns:
this
-
patchingMode
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder patchingMode(String patchingMode) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getPatchingMode()- Parameters:
patchingMode- The patching mode for the maintenance window.- Returns:
this
-
preference
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder preference(String preference) - Parameters:
preference- The preference for the maintenance window scheduling.- Returns:
this
-
weeksOfMonth
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder weeksOfMonth(List<? extends Number> weeksOfMonth) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getWeeksOfMonth()- Parameters:
weeksOfMonth- The weeks of the month when maintenance can be performed.- Returns:
this
-
weeksOfMonth
@Stability(Stable) public CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.Builder weeksOfMonth(IResolvable weeksOfMonth) Sets the value ofCfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty.getWeeksOfMonth()- 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<CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty>- Returns:
- a new instance of
CfnCloudExadataInfrastructurePropsMixin.MaintenanceWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-