Class PlatformEventHeader
- java.lang.Object
-
- io.datahubproject.openapi.generated.PlatformEventHeader
-
@Validated @Generated(value="io.swagger.codegen.v3.generators.java.SpringCodegen", date="2023-03-16T12:22:36.923004Z[Etc/UTC]") public class PlatformEventHeader extends java.lang.Object
A header included with each DataHub platform event.
-
-
Constructor Summary
Constructors Constructor Description PlatformEventHeader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long
getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds.int
hashCode()
void
setTimestampMillis(java.lang.Long timestampMillis)
PlatformEventHeader
timestampMillis(java.lang.Long timestampMillis)
java.lang.String
toString()
-
-
-
Method Detail
-
timestampMillis
public PlatformEventHeader timestampMillis(java.lang.Long timestampMillis)
-
getTimestampMillis
@NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) public @NotNull @Min(-9223372036854775808L) @Max(9223372036854775807L) java.lang.Long getTimestampMillis()
The event timestamp field as epoch at UTC in milli seconds. minimum: -9223372036854775808 maximum: 9223372036854775807- Returns:
- timestampMillis
-
setTimestampMillis
public void setTimestampMillis(java.lang.Long timestampMillis)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-