Package com.veeva.vault.sdk.api.page
Interface NavigateToPageRequest.Builder
- All Superinterfaces:
NavigateToLocationRequest.Builder<NavigateToPageRequest.Builder>
- Enclosing interface:
- NavigateToPageRequest
public static interface NavigateToPageRequest.Builder
extends NavigateToLocationRequest.Builder<NavigateToPageRequest.Builder>
Builds a
NavigateToPageRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()Creates a new instance ofNavigateToPageRequestwithPageName(String pageName) Sets the name of the page to open.withParameter(String name, String value) Sets a parameter with the given name and value.withPathInfo(String pathInfo) Sets the part of the URI that follows the page path.Methods inherited from interface com.veeva.vault.sdk.api.page.NavigateToLocationRequest.Builder
openInNewBrowserTab
-
Method Details
-
withPageName
Sets the name of the page to open.- Parameters:
pageName- name of the page to open e.g. hello_world__c- Returns:
- this builder
-
withParameter
Sets a parameter with the given name and value. If the parameter had already been set, the new value overwrites the previous one. Calling this method is optional.- Parameters:
name- the name of the parametervalue- the parameter value.- Returns:
- this builder
-
withPathInfo
Sets the part of the URI that follows the page path.- Parameters:
pathInfo- path-info part of the URI- Returns:
- this builder
-
build
NavigateToPageRequest build()Creates a new instance ofNavigateToPageRequest- Returns:
- new instance of
NavigateToPageRequest
-