Interface NumberEvent.Builder
- Enclosing interface:
NumberEvent
public static interface NumberEvent.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetEventId
(String eventId) see gettersetEventType
(NumberEvent.EventTypeEnum eventType) see gettersetFailureCode
(NumberEvent.FailureCodeEnum failureCode) see gettersetProjectId
(String projectId) see gettersetResourceId
(String resourceId) see gettersetResourceType
(ResourceType resourceType) see gettersetStatus
(NumberEvent.StatusEnum status) see gettersetTimestamp
(Instant timestamp) see getter
-
Method Details
-
setEventId
see getter- Parameters:
eventId
- see getter- Returns:
- Current builder
- See Also:
-
setTimestamp
see getter- Parameters:
timestamp
- see getter- Returns:
- Current builder
- See Also:
-
setProjectId
see getter- Parameters:
projectId
- see getter- Returns:
- Current builder
- See Also:
-
setResourceId
see getter- Parameters:
resourceId
- see getter- Returns:
- Current builder
- See Also:
-
setResourceType
see getter- Parameters:
resourceType
- see getter- Returns:
- Current builder
- See Also:
-
setEventType
see getter- Parameters:
eventType
- see getter- Returns:
- Current builder
- See Also:
-
setStatus
see getter- Parameters:
status
- see getter- Returns:
- Current builder
- See Also:
-
setFailureCode
see getter- Parameters:
failureCode
- see getter- Returns:
- Current builder
- See Also:
-
build
NumberEvent build()Create instance- Returns:
- The instance build with current builder values
-