Interface OptOutEvent.Builder
- Enclosing interface:
OptOutEvent
public static interface OptOutEvent.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
(OptOutEventNotification 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
OptOutEvent build()Create instance- Returns:
- The instance build with current builder values
-