Interface ViewContent.Builder

    • Method Detail

      • inputSchema

        ViewContent.Builder inputSchema​(String inputSchema)

        The schema representing the input data that the view template must be supplied to render.

        Parameters:
        inputSchema - The schema representing the input data that the view template must be supplied to render.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • template

        ViewContent.Builder template​(String template)

        The view template representing the structure of the view.

        Parameters:
        template - The view template representing the structure of the view.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        ViewContent.Builder actions​(Collection<String> actions)

        A list of actions possible from the view

        Parameters:
        actions - A list of actions possible from the view
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        ViewContent.Builder actions​(String... actions)

        A list of actions possible from the view

        Parameters:
        actions - A list of actions possible from the view
        Returns:
        Returns a reference to this object so that method calls can be chained together.