Package com.veeva.vault.sdk.api.page
Interface PageEventErrorResponse.Builder
- Enclosing interface:
- PageEventErrorResponse
public static interface PageEventErrorResponse.Builder
Creates an instance of
PageEventErrorResponse.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Retrieves a completedPageEventErrorResponse.Required: Sets the title for the error response of a page event.withUserMessage(String userMessage) Required: Sets the user-facing message for the error response of a page event.
-
Method Details
-
withTitle
Required: Sets the title for the error response of a page event.- Parameters:
title- a non-blank String representing the title for the error response- Returns:
- this
PageEventErrorResponse.Builder
-
withUserMessage
Required: Sets the user-facing message for the error response of a page event.- Parameters:
userMessage- a non-blank String representing a user-facing message for the error response- Returns:
- this
PageEventErrorResponse.Builder
-
build
PageEventResponse build()Retrieves a completedPageEventErrorResponse.- Returns:
- the completed
PageEventErrorResponse
-