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 CloudEventCloudEvent. addExtensionAttribute(String name, Object value)Add/Overwrite a single extension attribute to the cloud event.CloudEventCloudEvent. setDataSchema(String dataSchema)Set the schema that the data adheres to.CloudEventCloudEvent. setId(String id)Set a custom id.CloudEventCloudEvent. setSubject(String subject)Set the subject of the event.CloudEventCloudEvent. 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)DeserializeCloudEventJSON 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)DeserializeCloudEventsJSON string representation that has one CloudEvent object or an array of CloudEvent objects into a list of CloudEvents.
-