T
- the data typepublic interface OutgoingCloudEventMetadata<T> extends CloudEventMetadata<T>
CE_ATTRIBUTE_DATA_CONTENT_TYPE, CE_ATTRIBUTE_DATA_SCHEMA, CE_ATTRIBUTE_ID, CE_ATTRIBUTE_SOURCE, CE_ATTRIBUTE_SPEC_VERSION, CE_ATTRIBUTE_SUBJECT, CE_ATTRIBUTE_TIME, CE_ATTRIBUTE_TYPE, CE_VERSION_1_0
Modifier and Type | Method and Description |
---|---|
static <T> OutgoingCloudEventMetadataBuilder<T> |
builder()
Gets a builder to create a new
OutgoingCloudEventMetadata . |
static <T> OutgoingCloudEventMetadataBuilder<T> |
from(OutgoingCloudEventMetadata<T> existing)
Gets a builder to create a new
OutgoingCloudEventMetadata . |
getData, getDataContentType, getDataSchema, getExtension, getExtensions, getId, getSource, getSpecVersion, getSubject, getTimeStamp, getType
static <T> OutgoingCloudEventMetadataBuilder<T> builder()
OutgoingCloudEventMetadata
.T
- the type of datastatic <T> OutgoingCloudEventMetadataBuilder<T> from(OutgoingCloudEventMetadata<T> existing)
OutgoingCloudEventMetadata
.
The values are copied from the given existing OutgoingCloudEventMetadata
T
- the type of dataCopyright © 2018–2021 SmallRye. All rights reserved.