customActionTimeoutMins = $customActionTimeoutMins; } /** * @return int */ public function getCustomActionTimeoutMins() { return $this->customActionTimeoutMins; } /** * Optional. Days during the week when maintenance should be performed. * * @param string[] $daysOfWeek */ public function setDaysOfWeek($daysOfWeek) { $this->daysOfWeek = $daysOfWeek; } /** * @return string[] */ public function getDaysOfWeek() { return $this->daysOfWeek; } /** * Optional. The window of hours during the day when maintenance should be * performed. The window is a 4 hour slot. Valid values are: 0 - represents * time slot 0:00 - 3:59 UTC 4 - represents time slot 4:00 - 7:59 UTC 8 - * represents time slot 8:00 - 11:59 UTC 12 - represents time slot 12:00 - * 15:59 UTC 16 - represents time slot 16:00 - 19:59 UTC 20 - represents time * slot 20:00 - 23:59 UTC * * @param int[] $hoursOfDay */ public function setHoursOfDay($hoursOfDay) { $this->hoursOfDay = $hoursOfDay; } /** * @return int[] */ public function getHoursOfDay() { return $this->hoursOfDay; } /** * Optional. If true, enables the configuration of a custom action timeout * (waiting period) between database server patching operations. * * @param bool $isCustomActionTimeoutEnabled */ public function setIsCustomActionTimeoutEnabled($isCustomActionTimeoutEnabled) { $this->isCustomActionTimeoutEnabled = $isCustomActionTimeoutEnabled; } /** * @return bool */ public function getIsCustomActionTimeoutEnabled() { return $this->isCustomActionTimeoutEnabled; } /** * Optional. Lead time window allows user to set a lead time to prepare for a * down time. The lead time is in weeks and valid value is between 1 to 4. * * @param int $leadTimeWeek */ public function setLeadTimeWeek($leadTimeWeek) { $this->leadTimeWeek = $leadTimeWeek; } /** * @return int */ public function getLeadTimeWeek() { return $this->leadTimeWeek; } /** * Optional. Months during the year when maintenance should be performed. * * @param string[] $months */ public function setMonths($months) { $this->months = $months; } /** * @return string[] */ public function getMonths() { return $this->months; } /** * Optional. Cloud CloudExadataInfrastructure node patching method, either * "ROLLING" or "NONROLLING". Default value is ROLLING. * * Accepted values: PATCHING_MODE_UNSPECIFIED, ROLLING, NON_ROLLING * * @param self::PATCHING_MODE_* $patchingMode */ public function setPatchingMode($patchingMode) { $this->patchingMode = $patchingMode; } /** * @return self::PATCHING_MODE_* */ public function getPatchingMode() { return $this->patchingMode; } /** * Optional. The maintenance window scheduling preference. * * Accepted values: MAINTENANCE_WINDOW_PREFERENCE_UNSPECIFIED, * CUSTOM_PREFERENCE, NO_PREFERENCE * * @param self::PREFERENCE_* $preference */ public function setPreference($preference) { $this->preference = $preference; } /** * @return self::PREFERENCE_* */ public function getPreference() { return $this->preference; } /** * Optional. Weeks during the month when maintenance should be performed. * Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a * duration of 7 days. Weeks start and end based on calendar dates, not days * of the week. * * @param int[] $weeksOfMonth */ public function setWeeksOfMonth($weeksOfMonth) { $this->weeksOfMonth = $weeksOfMonth; } /** * @return int[] */ public function getWeeksOfMonth() { return $this->weeksOfMonth; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(MaintenanceWindow::class, 'Google_Service_OracleDatabase_MaintenanceWindow');