public final class OutgoingCloudEventMetadataBuilder<T> extends Object
Constructor and Description |
---|
OutgoingCloudEventMetadataBuilder() |
OutgoingCloudEventMetadataBuilder(OutgoingCloudEventMetadata<T> existing) |
Modifier and Type | Method and Description |
---|---|
OutgoingCloudEventMetadata<T> |
build() |
OutgoingCloudEventMetadataBuilder<T> |
withDataContentType(String dataContentType) |
OutgoingCloudEventMetadataBuilder<T> |
withDataSchema(URI dataSchema) |
OutgoingCloudEventMetadataBuilder<T> |
withExtension(String name,
Object value) |
OutgoingCloudEventMetadataBuilder<T> |
withExtensions(Map<String,Object> extensions) |
OutgoingCloudEventMetadataBuilder<T> |
withId(String id) |
OutgoingCloudEventMetadataBuilder<T> |
withoutExtension(String name) |
OutgoingCloudEventMetadataBuilder<T> |
withSource(URI source) |
OutgoingCloudEventMetadataBuilder<T> |
withSpecVersion(String specVersion) |
OutgoingCloudEventMetadataBuilder<T> |
withSubject(String subject) |
OutgoingCloudEventMetadataBuilder<T> |
withTimestamp(ZonedDateTime timestamp) |
OutgoingCloudEventMetadataBuilder<T> |
withType(String type) |
public OutgoingCloudEventMetadataBuilder()
public OutgoingCloudEventMetadataBuilder(OutgoingCloudEventMetadata<T> existing)
public OutgoingCloudEventMetadataBuilder<T> withId(String id)
public OutgoingCloudEventMetadataBuilder<T> withSpecVersion(String specVersion)
public OutgoingCloudEventMetadataBuilder<T> withSource(URI source)
public OutgoingCloudEventMetadataBuilder<T> withType(String type)
public OutgoingCloudEventMetadataBuilder<T> withDataContentType(String dataContentType)
public OutgoingCloudEventMetadataBuilder<T> withDataSchema(URI dataSchema)
public OutgoingCloudEventMetadataBuilder<T> withSubject(String subject)
public OutgoingCloudEventMetadataBuilder<T> withTimestamp(ZonedDateTime timestamp)
public OutgoingCloudEventMetadataBuilder<T> withExtensions(Map<String,Object> extensions)
public OutgoingCloudEventMetadataBuilder<T> withExtension(String name, Object value)
public OutgoingCloudEventMetadataBuilder<T> withoutExtension(String name)
public OutgoingCloudEventMetadata<T> build()
Copyright © 2018–2021 SmallRye. All rights reserved.