Interface RefreshSchedule.Builder

  • Method Details

    • frequency

      The frequency at which you want the dashboard refreshed.

      Parameters:
      frequency - The frequency at which you want the dashboard refreshed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • frequency

      The frequency at which you want the dashboard refreshed.

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

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

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

      Specifies whether the refresh schedule is enabled. Set the value to ENABLED to enable the refresh schedule, or to DISABLED to turn off the refresh schedule.

      Parameters:
      status - Specifies whether the refresh schedule is enabled. Set the value to ENABLED to enable the refresh schedule, or to DISABLED to turn off the refresh schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Specifies whether the refresh schedule is enabled. Set the value to ENABLED to enable the refresh schedule, or to DISABLED to turn off the refresh schedule.

      Parameters:
      status - Specifies whether the refresh schedule is enabled. Set the value to ENABLED to enable the refresh schedule, or to DISABLED to turn off the refresh schedule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • timeOfDay

      RefreshSchedule.Builder timeOfDay(String timeOfDay)

      The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.

      Parameters:
      timeOfDay - The time of day in UTC to run the schedule; for hourly only refer to minutes; default is 00:00.
      Returns:
      Returns a reference to this object so that method calls can be chained together.