Interface MessageSubmitEvent.Builder
- Enclosing interface:
MessageSubmitEvent
public static interface MessageSubmitEvent.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetAcceptedTime
(Instant acceptedTime) see gettersee gettersetCorrelationId
(String correlationId) see gettersetEventTime
(Instant eventTime) see gettersetMessage
(MessageSubmitEventMessage message) see gettersetMessageMetadata
(String messageMetadata) 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:
-
setMessage
see getter- Parameters:
message
- see getter- Returns:
- Current builder
- See Also:
-
build
MessageSubmitEvent build()Create instance- Returns:
- The instance build with current builder values
-