public static final class CloudEventsMessageParser.ParsedMetadata extends Object
Constructor and Description |
---|
ParsedMetadata(String eventType,
String eventTypeVersion,
String cloudEventsVersion,
String source,
String eventId,
ZonedDateTime eventTime,
String schemaUrl,
String contentType) |
Modifier and Type | Method and Description |
---|---|
String |
getCloudEventsVersion()
The version of the CloudEvents specification which the event uses.
|
String |
getContentType()
Describe the data encoding format.
|
String |
getEventId()
ID of the event.
|
ZonedDateTime |
getEventTime()
Timestamp of when the event happened resp.
|
String |
getEventType()
Type of occurrence which has happened.
|
String |
getEventTypeVersion()
The version of the eventType.
|
String |
getSchemaUrl()
A link to the schema that the data attribute adheres to.
|
String |
getSource()
This describes the event producer.
|
String |
toString() |
@Nonnull public String getEventType()
@Nullable public String getEventTypeVersion()
@Nonnull public String getCloudEventsVersion()
@Nonnull public String getSource()
@Nonnull public String getEventId()
@Nullable public ZonedDateTime getEventTime()
@Nullable public String getSchemaUrl()
Copyright © 2019 SAP SE. All rights reserved.