Interface MaintenanceWindow.Builder

  • Method Details

    • customActionTimeoutInMins

      MaintenanceWindow.Builder customActionTimeoutInMins(Integer 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

      MaintenanceWindow.Builder daysOfWeek(DayOfWeek... 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 the DayOfWeek.Builder avoiding the need to create one manually via DayOfWeek.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to daysOfWeek(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:
    • hoursOfDay

      MaintenanceWindow.Builder hoursOfDay(Collection<Integer> 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

      MaintenanceWindow.Builder hoursOfDay(Integer... 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

      MaintenanceWindow.Builder isCustomActionTimeoutEnabled(Boolean 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

      MaintenanceWindow.Builder leadTimeInWeeks(Integer 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

      MaintenanceWindow.Builder months(Month... 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 the Month.Builder avoiding the need to create one manually via Month.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to months(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:
    • patchingMode

      MaintenanceWindow.Builder patchingMode(String 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

      MaintenanceWindow.Builder patchingMode(PatchingModeType 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

      MaintenanceWindow.Builder preference(String 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

      MaintenanceWindow.Builder preference(PreferenceType 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

      MaintenanceWindow.Builder weeksOfMonth(Collection<Integer> 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

      MaintenanceWindow.Builder weeksOfMonth(Integer... 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.