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