Interface NavigateToPageRequest.Builder

All Superinterfaces:
NavigateToLocationRequest.Builder<NavigateToPageRequest.Builder>
Enclosing interface:
NavigateToPageRequest

public static interface NavigateToPageRequest.Builder extends NavigateToLocationRequest.Builder<NavigateToPageRequest.Builder>
  • Method Details

    • withPageName

      NavigateToPageRequest.Builder withPageName(String pageName)
      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

      NavigateToPageRequest.Builder withParameter(String name, String value)
      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 parameter
      value - the parameter value.
      Returns:
      this builder
    • withPathInfo

      NavigateToPageRequest.Builder withPathInfo(String pathInfo)
      Sets the part of the URI that follows the page path.
      Parameters:
      pathInfo - path-info part of the URI
      Returns:
      this builder
    • build

      Creates a new instance of NavigateToPageRequest
      Returns:
      new instance of NavigateToPageRequest