public interface Builder<A extends Attributes,T>
| Modifier and Type | Method and Description |
|---|---|
CloudEvent<A,T> |
build()
To build a brand new instance of
CloudEvent |
<TT> CloudEvent<A,TT> |
build(CloudEvent<A,T> base,
String id,
TT newData)
To build a brand new instance of
CloudEvent with another
type of 'data' |
CloudEvent<A,T> build()
CloudEvent<TT> CloudEvent<A,TT> build(CloudEvent<A,T> base, String id, TT newData)
CloudEvent with another
type of 'data'TT - The new type of 'data'id - The new id for the new instancebase - The base CloudEvent to copy its attributesnewData - The new 'data'Copyright © 2019. All rights reserved.