Interface MonthlySetting.Builder

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

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

    • dayOfMonth

      MonthlySetting.Builder dayOfMonth(Integer dayOfMonth)

      The day of the month when monthly recurring on-call rotations begin.

      Parameters:
      dayOfMonth - The day of the month when monthly recurring on-call rotations begin.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • handOffTime

      MonthlySetting.Builder handOffTime(HandOffTime handOffTime)

      The time of day when a monthly recurring on-call shift rotation begins.

      Parameters:
      handOffTime - The time of day when a monthly recurring on-call shift rotation begins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • handOffTime

      default MonthlySetting.Builder handOffTime(Consumer<HandOffTime.Builder> handOffTime)

      The time of day when a monthly recurring on-call shift rotation begins.

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

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

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