Interface Timer.Builder

    • Method Detail

      • name

        Timer.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.
      • timestamp

        Timer.Builder timestamp​(Instant timestamp)

        The expiration time for the timer.

        Parameters:
        timestamp - The expiration time for the timer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.