Package com.totvs.tjf.core.message
Class CloudEventsInfoBuilder
- java.lang.Object
-
- com.totvs.tjf.core.message.CloudEventsInfoBuilder
-
public class CloudEventsInfoBuilder extends Object
This class builds a CloudEventsInfo instance.
-
-
Constructor Summary
Constructors Constructor Description CloudEventsInfoBuilder()The default constructor of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudEventsInfobuild()Builds and return the CloudEventsInfo.CloudEventsInfoBuildercorrelationId(String correlationId)Sets the correlationId of the CloudEventsInfo.CloudEventsInfoBuilderdataContentType(String dataContentType)Sets the dataContentType of the CloudEventsInfo.CloudEventsInfoBuilderdataSchema(String dataSchema)Sets the dataSchema of the CloudEventsInfo.CloudEventsInfoBuilderid(String id)Sets the id of the CloudEventsInfo.CloudEventsInfoBuildersubject(String subject)Sets the subject of the CloudEventsInfo.
-
-
-
Method Detail
-
id
public CloudEventsInfoBuilder id(String id)
Sets the id of the CloudEventsInfo.
-
subject
public CloudEventsInfoBuilder subject(String subject)
Sets the subject of the CloudEventsInfo.
-
dataSchema
public CloudEventsInfoBuilder dataSchema(String dataSchema)
Sets the dataSchema of the CloudEventsInfo.
-
correlationId
public CloudEventsInfoBuilder correlationId(String correlationId)
Sets the correlationId of the CloudEventsInfo.
-
dataContentType
public CloudEventsInfoBuilder dataContentType(String dataContentType)
Sets the dataContentType of the CloudEventsInfo.
-
build
public CloudEventsInfo build()
Builds and return the CloudEventsInfo.
-
-