Package com.azure.core.models
Class CloudEventDataFormat
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<CloudEventDataFormat>
-
- com.azure.core.models.CloudEventDataFormat
-
public final class CloudEventDataFormat extends ExpandableStringEnum<CloudEventDataFormat>
Representation of the data format for aCloudEvent
.When constructing a
CloudEvent
this is passed to determine the serialized format of the event's data. IfBYTES
is used the data will be stored as a Base64 encoded string, otherwise it will be stored as a JSON serialized object.
-
-
Field Summary
Fields Modifier and Type Field Description static CloudEventDataFormat
BYTES
Bytes format.static CloudEventDataFormat
JSON
JSON format.
-
Constructor Summary
Constructors Constructor Description CloudEventDataFormat()
-
-
-
Field Detail
-
BYTES
public static final CloudEventDataFormat BYTES
Bytes format.
-
JSON
public static final CloudEventDataFormat JSON
JSON format.
-
-