Interface TimerDefinition.Builder

    • Method Detail

      • name

        TimerDefinition.Builder name​(String name)

        The name of the timer.

        Parameters:
        name - The name of the timer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • seconds

        TimerDefinition.Builder seconds​(Integer seconds)

        The new setting of the timer (the number of seconds before the timer elapses).

        Parameters:
        seconds - The new setting of the timer (the number of seconds before the timer elapses).
        Returns:
        Returns a reference to this object so that method calls can be chained together.