Package com.atlan.model.events
Class AtlanEventPayload.AtlanEventPayloadBuilder<C extends AtlanEventPayload,B extends AtlanEventPayload.AtlanEventPayloadBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.events.AtlanEventPayload.AtlanEventPayloadBuilder<C,B>
- Direct Known Subclasses:
AssetCreatePayload.AssetCreatePayloadBuilder
,AssetDeletePayload.AssetDeletePayloadBuilder
,AssetUpdatePayload.AssetUpdatePayloadBuilder
,AtlanTagAddPayload.AtlanTagAddPayloadBuilder
,AtlanTagDeletePayload.AtlanTagDeletePayloadBuilder
,CustomMetadataUpdatePayload.CustomMetadataUpdatePayloadBuilder
- Enclosing class:
- AtlanEventPayload
public abstract static class AtlanEventPayload.AtlanEventPayloadBuilder<C extends AtlanEventPayload,B extends AtlanEventPayload.AtlanEventPayloadBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) Details of the asset that was impacted by the event.abstract C
build()
Time (epoch) the event was triggered in the source system, in milliseconds.operationType
(String operationType) Type of the operation the event contains a payload for.protected abstract B
self()
toString()
Type of the event payload.Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
AtlanEventPayloadBuilder
public AtlanEventPayloadBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends AtlanEventPayload,
B extends AtlanEventPayload.AtlanEventPayloadBuilder<C, B>>
-
type
Type of the event payload.- Returns:
this
.
-
operationType
Type of the operation the event contains a payload for.- Returns:
this
.
-
eventTime
Time (epoch) the event was triggered in the source system, in milliseconds.- Returns:
this
.
-
asset
Details of the asset that was impacted by the event. Note that the details some operations (like custom metadata changes) are NOT included in this object, but only in the associated mutatedDetails.- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends AtlanEventPayload,
B extends AtlanEventPayload.AtlanEventPayloadBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends AtlanEventPayload,
B extends AtlanEventPayload.AtlanEventPayloadBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends AtlanEventPayload,
B extends AtlanEventPayload.AtlanEventPayloadBuilder<C, B>>
-