public final class CloudEventDataFormat extends ExpandableStringEnum<CloudEventDataFormat>
CloudEvent
.
When constructing a CloudEvent
this is passed to determine the serialized format of the event's data.
If CloudEventDataFormat.BYTES
is used the data will be stored as a Base64 encoded string,
otherwise it will be stored as a JSON serialized object.
Modifier and Type | Field and Description |
---|---|
static CloudEventDataFormat |
BYTES
Bytes format.
|
static CloudEventDataFormat |
JSON
JSON format.
|
Constructor and Description |
---|
CloudEventDataFormat() |
public static final CloudEventDataFormat BYTES
public static final CloudEventDataFormat JSON
Copyright © 2021 Microsoft Corporation. All rights reserved.