Class CloudEventDataFormat

All Implemented Interfaces:
ExpandableEnum<String>

public final class CloudEventDataFormat extends ExpandableStringEnum<CloudEventDataFormat>
Representation of the data format for a CloudEvent.

When constructing a CloudEvent this is passed to determine the serialized format of the event's data. If BYTES is used the data will be stored as a Base64 encoded string, otherwise it will be stored as a JSON serialized object.

See Also: