Uses of Class
com.azure.core.models.CloudEvent
Packages that use CloudEvent
Package
Description
This package contains the core model classes used across the Azure SDK.
-
Uses of CloudEvent in com.azure.core.models
Classes in com.azure.core.models that implement interfaces with type arguments of type CloudEventModifier and TypeClassDescriptionfinal classRepresents the CloudEvent conforming to the 1.0 schema defined by the Cloud Native Computing Foundation.Methods in com.azure.core.models that return CloudEventModifier and TypeMethodDescriptionCloudEvent.addExtensionAttribute(String name, Object value) Add/Overwrite a single extension attribute to the cloud event.static CloudEventCloudEvent.fromJson(com.azure.json.JsonReader jsonReader) Reads a JSON stream into aCloudEvent.CloudEvent.setDataSchema(String dataSchema) Set the schema that the data adheres to.Set a custom id.CloudEvent.setSubject(String subject) Set the subject of the event.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 CloudEventModifier and TypeMethodDescriptionstatic 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.