Interface MaintenanceWindow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MaintenanceWindow.Builder,
,MaintenanceWindow> SdkBuilder<MaintenanceWindow.Builder,
,MaintenanceWindow> SdkPojo
- Enclosing class:
MaintenanceWindow
-
Method Summary
Modifier 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.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
customActionTimeoutInMins
The 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.
-
daysOfWeek
The 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.
-
daysOfWeek
The 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.
-
daysOfWeek
The days of the week when maintenance can be performed.
This is a convenience method that creates an instance of theDayOfWeek.Builder
avoiding the need to create one manually viaDayOfWeek.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todaysOfWeek(List<DayOfWeek>)
.- Parameters:
daysOfWeek
- a consumer that will call methods onDayOfWeek.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hoursOfDay
The 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.
-
hoursOfDay
The 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.
-
isCustomActionTimeoutEnabled
Indicates 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.
-
leadTimeInWeeks
The 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.
-
months
The 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.
-
months
The 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.
-
months
The months when maintenance can be performed.
This is a convenience method that creates an instance of theMonth.Builder
avoiding the need to create one manually viaMonth.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomonths(List<Month>)
.- Parameters:
months
- a consumer that will call methods onMonth.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
patchingMode
The 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:
-
patchingMode
The 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:
-
preference
The 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:
-
preference
The 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:
-
skipRu
Indicates 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.
-
weeksOfMonth
The 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.
-
weeksOfMonth
The 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.
-