Uses of Interface
io.cloudevents.core.builder.CloudEventBuilder
Packages that use CloudEventBuilder
Package
Description
-
Uses of CloudEventBuilder in io.cloudevents.core.builder
Methods in io.cloudevents.core.builder that return CloudEventBuilderModifier and TypeMethodDescriptionstatic CloudEventBuilderCloudEventBuilder.from(io.cloudevents.CloudEvent event) Create a new builder starting from the values of the provided event.static CloudEventBuilderCloudEventBuilder.fromContext(io.cloudevents.CloudEventContext context) Create a new builder starting from the values of the provided context.static CloudEventBuilderCloudEventBuilder.fromSpecVersion(io.cloudevents.SpecVersion version) Create a new builder for the specifiedSpecVersionCloudEventBuilder.newBuilder()Copy this builder, creating a new instance with same values.CloudEventBuilder.withData(byte[] data) Set thedataof the eventCloudEventBuilder.withData(io.cloudevents.CloudEventData data) Set thedataof the eventSet thedatacontenttypeanddataof the eventSet thedatacontenttypeanddataof the eventSet thedatacontenttype,dataschemaanddataof the eventCloudEventBuilder.withData(String dataContentType, URI dataSchema, io.cloudevents.CloudEventData data) Set thedatacontenttype,dataschemaanddataof the eventCloudEventBuilder.withDataContentType(String dataContentType) Set thedatacontenttypeof the eventCloudEventBuilder.withDataSchema(URI dataSchema) Set thedataschemaof the event.CloudEventBuilder.withExtension(io.cloudevents.CloudEventExtension extension) Add to the builder all the extension key/values of the provided extensionCloudEventBuilder.withExtension(String key, byte[] value) Set an extension with provided key and binary valueCloudEventBuilder.withExtension(String key, Boolean value) Set an extension with provided key and boolean valueCloudEventBuilder.withExtension(String key, Number value) Set an extension with provided key and numeric valueCloudEventBuilder.withExtension(String key, String value) Set an extension with provided key and string valueCloudEventBuilder.withExtension(String key, URI value) Set an extension with provided key and uri valueCloudEventBuilder.withExtension(String key, OffsetDateTime value) Set an extension with provided key and boolean valueSet theidof the eventCloudEventBuilder.withoutData()Remove thedatacontenttype,dataschemaanddatafrom the eventCloudEventBuilder.withoutDataContentType()Remove thedatacontenttypefrom the eventCloudEventBuilder.withoutDataSchema()Remove thedataschemafrom the eventCloudEventBuilder.withoutExtension(io.cloudevents.CloudEventExtension extension) Remove from the the builder the provided extension, if anyCloudEventBuilder.withoutExtension(String key) Remove from the the builder the provided extension key, if anyCloudEventBuilder.withSource(URI source) Set thesourceof the eventCloudEventBuilder.withSubject(String subject) Set thesubjectof the eventCloudEventBuilder.withTime(OffsetDateTime time) Set thetimeof the eventSet thetypeof the event -
Uses of CloudEventBuilder in io.cloudevents.core.impl
Classes in io.cloudevents.core.impl that implement CloudEventBuilderModifier and TypeClassDescriptionclassBaseCloudEventBuilder<SELF extends BaseCloudEventBuilder<SELF,T>, T extends io.cloudevents.CloudEvent> Methods in io.cloudevents.core.impl that return CloudEventBuilderModifier and TypeMethodDescriptionBaseCloudEventBuilder.withExtension(String key, byte[] value) BaseCloudEventBuilder.withoutData()BaseCloudEventBuilder.withoutDataContentType()BaseCloudEventBuilder.withoutDataSchema() -
Uses of CloudEventBuilder in io.cloudevents.core.v03
Classes in io.cloudevents.core.v03 that implement CloudEventBuilder -
Uses of CloudEventBuilder in io.cloudevents.core.v1
Classes in io.cloudevents.core.v1 that implement CloudEventBuilder