Uses of Class
com.azure.core.models.CloudEvent
-
Packages that use CloudEvent Package Description com.azure.core.models Package containing core model classes. -
-
Uses of CloudEvent in com.azure.core.models
Methods in com.azure.core.models that return CloudEvent Modifier and Type Method Description CloudEvent
CloudEvent. addExtensionAttribute(String name, Object value)
Add/Overwrite a single extension attribute to the cloud event.CloudEvent
CloudEvent. setDataSchema(String dataSchema)
Set the schema that the data adheres to.CloudEvent
CloudEvent. setId(String id)
Set a custom id.CloudEvent
CloudEvent. setSubject(String subject)
Set the subject of the event.CloudEvent
CloudEvent. setTime(OffsetDateTime time)
Set the time associated with the occurrence of the event.Methods in com.azure.core.models that return types with arguments of type CloudEvent Modifier and Type Method Description static List<CloudEvent>
CloudEvent. fromString(String cloudEventsJson)
DeserializeCloudEvent
JSON string representation that has one CloudEvent object or an array of CloudEvent objects into a list of CloudEvents, and validate whether any CloudEvents have nullid
,source
, ortype
.static List<CloudEvent>
CloudEvent. fromString(String cloudEventsJson, boolean skipValidation)
DeserializeCloudEvents
JSON string representation that has one CloudEvent object or an array of CloudEvent objects into a list of CloudEvents.
-