Interface ChannelEvent.Builder
- Enclosing interface:
ChannelEvent
public static interface ChannelEvent.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetAcceptedTime
(Instant acceptedTime) see gettersee gettersetCorrelationId
(String correlationId) see gettersetEventTime
(Instant eventTime) see gettersetMessageMetadata
(String messageMetadata) see gettersetNotification
(ChannelEventNotification notification) see gettersetProjectId
(String projectId) see getter
-
Method Details
-
setAppId
see getter- Parameters:
appId
- see getter- Returns:
- Current builder
- See Also:
-
setAcceptedTime
see getter- Parameters:
acceptedTime
- see getter- Returns:
- Current builder
- See Also:
-
setEventTime
see getter- Parameters:
eventTime
- see getter- Returns:
- Current builder
- See Also:
-
setProjectId
see getter- Parameters:
projectId
- see getter- Returns:
- Current builder
- See Also:
-
setMessageMetadata
see getter- Parameters:
messageMetadata
- see getter- Returns:
- Current builder
- See Also:
-
setCorrelationId
see getter- Parameters:
correlationId
- see getter- Returns:
- Current builder
- See Also:
-
setNotification
see getter- Parameters:
notification
- see getter- Returns:
- Current builder
- See Also:
-
build
ChannelEvent build()Create instance- Returns:
- The instance build with current builder values
-