Package | Description |
---|---|
com.azure.core.models |
Package containing core model classes.
|
Modifier and Type | Method and 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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.