Class LambdaFunctionScheduledEventAttributes

    • Method Detail

      • id

        public final String id()

        The unique ID of the Lambda task.

        Returns:
        The unique ID of the Lambda task.
      • name

        public final String name()

        The name of the Lambda function.

        Returns:
        The name of the Lambda function.
      • control

        public final String control()

        Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.

        Returns:
        Data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the Lambda task.
      • input

        public final String input()

        The input provided to the Lambda task.

        Returns:
        The input provided to the Lambda task.
      • startToCloseTimeout

        public final String startToCloseTimeout()

        The maximum amount of time a worker can take to process the Lambda task.

        Returns:
        The maximum amount of time a worker can take to process the Lambda task.
      • decisionTaskCompletedEventId

        public final Long decisionTaskCompletedEventId()

        The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.

        Returns:
        The ID of the LambdaFunctionCompleted event corresponding to the decision that resulted in scheduling this activity task. To help diagnose issues, use this information to trace back the chain of events leading up to this event.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)