Class PlatformEvent


  • @Validated
    @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen",
               date="2023-03-16T12:22:36.923004Z[Etc/UTC]")
    public class PlatformEvent
    extends java.lang.Object
    A DataHub Platform Event.
    • Constructor Detail

      • PlatformEvent

        public PlatformEvent()
    • Method Detail

      • getHeader

        @NotNull
        @Valid
        public @NotNull @Valid PlatformEventHeader getHeader()
        Get header
        Returns:
        header
      • getName

        @NotNull
        public @NotNull java.lang.String getName()
        The name of the event, e.g. the type of event. For example, 'notificationRequestEvent', 'entityChangeEvent'
        Returns:
        name
      • setName

        public void setName​(java.lang.String name)
      • getPayload

        @NotNull
        @Valid
        public @NotNull @Valid GenericPayload getPayload()
        Get payload
        Returns:
        payload
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object