Interface AutoTuneMaintenanceSchedule.Builder

  • Method Details

    • startAt

      The Epoch timestamp at which the Auto-Tune maintenance schedule starts.

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

      The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"} .

      Parameters:
      duration - The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"}.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • duration

      The duration of the maintenance schedule. For example, "Duration": {"Value": 2, "Unit": "HOURS"} .

      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)

      A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.

      Parameters:
      cronExpressionForRecurrence - A cron expression for a recurring maintenance schedule during which Auto-Tune can deploy changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.