Interface AutoTuneMaintenanceSchedule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>, SdkBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>, SdkPojo
Enclosing class:
AutoTuneMaintenanceSchedule

public static interface AutoTuneMaintenanceSchedule.Builder extends SdkPojo, CopyableBuilder<AutoTuneMaintenanceSchedule.Builder,AutoTuneMaintenanceSchedule>
  • Method Details

    • startAt

      Specifies timestamp at which Auto-Tune maintenance schedule start.

      Parameters:
      startAt - Specifies timestamp at which Auto-Tune maintenance schedule start.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.

      Parameters:
      duration - Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      Specifies maintenance schedule duration: duration value and duration unit. See the Developer Guide for more information.

      This is a convenience method that creates an instance of the Duration.Builder avoiding the need to create one manually via Duration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to duration(Duration).

      Parameters:
      duration - a consumer that will call methods on Duration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cronExpressionForRecurrence

      AutoTuneMaintenanceSchedule.Builder cronExpressionForRecurrence(String cronExpressionForRecurrence)

      Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.

      Parameters:
      cronExpressionForRecurrence - Specifies cron expression for a recurring maintenance schedule. See the Developer Guide for more information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.