Interface WeeklySchedule.Builder

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

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

    • daysWithStrings

      WeeklySchedule.Builder daysWithStrings(Collection<String> days)

      The weekly schedule's days.

      Parameters:
      days - The weekly schedule's days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • daysWithStrings

      WeeklySchedule.Builder daysWithStrings(String... days)

      The weekly schedule's days.

      Parameters:
      days - The weekly schedule's days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • days

      The weekly schedule's days.

      Parameters:
      days - The weekly schedule's days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • days

      WeeklySchedule.Builder days(Day... days)

      The weekly schedule's days.

      Parameters:
      days - The weekly schedule's days.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      WeeklySchedule.Builder startTime(Time startTime)

      The weekly schedule's start time.

      Parameters:
      startTime - The weekly schedule's start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      default WeeklySchedule.Builder startTime(Consumer<Time.Builder> startTime)

      The weekly schedule's start time.

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

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

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