Interface StartTimerDecisionAttributes.Builder

    • Method Detail

      • timerId

        StartTimerDecisionAttributes.Builder timerId​(String timerId)

        The unique ID of the timer.

        The specified string must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- | -Ÿ). Also, it must not be the literal string arn.

        Parameters:
        timerId - The unique ID of the timer.

        The specified string must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- | -Ÿ). Also, it must not be the literal string arn.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • control

        StartTimerDecisionAttributes.Builder control​(String control)

        The data attached to the event that can be used by the decider in subsequent workflow tasks.

        Parameters:
        control - The data attached to the event that can be used by the decider in subsequent workflow tasks.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startToFireTimeout

        StartTimerDecisionAttributes.Builder startToFireTimeout​(String startToFireTimeout)

        The duration to wait before firing the timer.

        The duration is specified in seconds, an integer greater than or equal to 0.

        Parameters:
        startToFireTimeout - The duration to wait before firing the timer.

        The duration is specified in seconds, an integer greater than or equal to 0.

        Returns:
        Returns a reference to this object so that method calls can be chained together.