Class EngineEvent


  • public class EngineEvent
    extends java.lang.Object
    EngineEvent describes a Pulumi engine event, such as a change to a resource or diagnostic message. EngineEvent is a discriminated union of all possible event types, and exactly one field will be non-null.
    • Method Detail

      • sequence

        public int sequence()
        Gets the sequence number, a unique, and monotonically increasing number for each engine event sent to the Pulumi Service. Since events may be sent concurrently, and/or delayed via network routing, the sequence number is to ensure events can be placed into a total ordering.
        • No two events can have the same sequence number.
        • Events with a lower sequence number must have been emitted before those with a higher sequence number.
        Returns:
        the sequence number
      • timestamp

        public int timestamp()
        Gets the timestamp, a Unix timestamp (seconds) of when the event was emitted.
        Returns:
        the timestamp
      • cancelEvent

        @Nullable
        public CancelEvent cancelEvent()
      • preludeEvent

        @Nullable
        public PreludeEvent preludeEvent()
      • summaryEvent

        @Nullable
        public SummaryEvent summaryEvent()
      • policyEvent

        @Nullable
        public PolicyEvent policyEvent()