Interface MaintenanceWindow.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MaintenanceWindow.Builder,,- MaintenanceWindow> - SdkBuilder<MaintenanceWindow.Builder,,- MaintenanceWindow> - SdkPojo
- Enclosing class:
- MaintenanceWindow
- 
Method SummaryModifier and TypeMethodDescriptioncustomActionTimeoutInMins(Integer customActionTimeoutInMins) The custom action timeout in minutes for the maintenance window.daysOfWeek(Collection<DayOfWeek> daysOfWeek) The days of the week when maintenance can be performed.daysOfWeek(Consumer<DayOfWeek.Builder>... daysOfWeek) The days of the week when maintenance can be performed.daysOfWeek(DayOfWeek... daysOfWeek) The days of the week when maintenance can be performed.hoursOfDay(Integer... hoursOfDay) The hours of the day when maintenance can be performed.hoursOfDay(Collection<Integer> hoursOfDay) The hours of the day when maintenance can be performed.isCustomActionTimeoutEnabled(Boolean isCustomActionTimeoutEnabled) Indicates whether custom action timeout is enabled for the maintenance window.leadTimeInWeeks(Integer leadTimeInWeeks) The lead time in weeks before the maintenance window.months(Collection<Month> months) The months when maintenance can be performed.months(Consumer<Month.Builder>... months) The months when maintenance can be performed.The months when maintenance can be performed.patchingMode(String patchingMode) The patching mode for the maintenance window.patchingMode(PatchingModeType patchingMode) The patching mode for the maintenance window.preference(String preference) The preference for the maintenance window scheduling.preference(PreferenceType preference) The preference for the maintenance window scheduling.Indicates whether to skip release updates during maintenance.weeksOfMonth(Integer... weeksOfMonth) The weeks of the month when maintenance can be performed.weeksOfMonth(Collection<Integer> weeksOfMonth) The weeks of the month when maintenance can be performed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
customActionTimeoutInMinsThe custom action timeout in minutes for the maintenance window. - Parameters:
- customActionTimeoutInMins- The custom action timeout in minutes for the maintenance window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
daysOfWeekThe days of the week when maintenance can be performed. - Parameters:
- daysOfWeek- The days of the week when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
daysOfWeekThe days of the week when maintenance can be performed. - Parameters:
- daysOfWeek- The days of the week when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
daysOfWeekThe days of the week when maintenance can be performed. This is a convenience method that creates an instance of theDayOfWeek.Builderavoiding the need to create one manually viaDayOfWeek.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todaysOfWeek(List<DayOfWeek>).- Parameters:
- daysOfWeek- a consumer that will call methods on- DayOfWeek.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
hoursOfDayThe hours of the day when maintenance can be performed. - Parameters:
- hoursOfDay- The hours of the day when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
hoursOfDayThe hours of the day when maintenance can be performed. - Parameters:
- hoursOfDay- The hours of the day when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
isCustomActionTimeoutEnabledIndicates whether custom action timeout is enabled for the maintenance window. - Parameters:
- isCustomActionTimeoutEnabled- Indicates whether custom action timeout is enabled for the maintenance window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
leadTimeInWeeksThe lead time in weeks before the maintenance window. - Parameters:
- leadTimeInWeeks- The lead time in weeks before the maintenance window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
monthsThe months when maintenance can be performed. - Parameters:
- months- The months when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
monthsThe months when maintenance can be performed. - Parameters:
- months- The months when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
monthsThe months when maintenance can be performed. This is a convenience method that creates an instance of theMonth.Builderavoiding the need to create one manually viaMonth.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonths(List<Month>).- Parameters:
- months- a consumer that will call methods on- Month.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
patchingModeThe patching mode for the maintenance window. - Parameters:
- patchingMode- The patching mode for the maintenance window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
patchingModeThe patching mode for the maintenance window. - Parameters:
- patchingMode- The patching mode for the maintenance window.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
preferenceThe preference for the maintenance window scheduling. - Parameters:
- preference- The preference for the maintenance window scheduling.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
preferenceThe preference for the maintenance window scheduling. - Parameters:
- preference- The preference for the maintenance window scheduling.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
skipRuIndicates whether to skip release updates during maintenance. - Parameters:
- skipRu- Indicates whether to skip release updates during maintenance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
weeksOfMonthThe weeks of the month when maintenance can be performed. - Parameters:
- weeksOfMonth- The weeks of the month when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
weeksOfMonthThe weeks of the month when maintenance can be performed. - Parameters:
- weeksOfMonth- The weeks of the month when maintenance can be performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-