Interface AppDefinition.Builder

  • Method Details

    • appDefinitionVersion

      AppDefinition.Builder appDefinitionVersion(String appDefinitionVersion)

      The version of the app definition schema or specification.

      Parameters:
      appDefinitionVersion - The version of the app definition schema or specification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cards

      The cards that make up the Q App, such as text input, file upload, or query cards.

      Parameters:
      cards - The cards that make up the Q App, such as text input, file upload, or query cards.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cards

      AppDefinition.Builder cards(Card... cards)

      The cards that make up the Q App, such as text input, file upload, or query cards.

      Parameters:
      cards - The cards that make up the Q App, such as text input, file upload, or query cards.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • cards

      The cards that make up the Q App, such as text input, file upload, or query cards.

      This is a convenience method that creates an instance of the Card.Builder avoiding the need to create one manually via Card.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to cards(List<Card>).

      Parameters:
      cards - a consumer that will call methods on Card.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • canEdit

      AppDefinition.Builder canEdit(Boolean canEdit)

      A flag indicating whether the Q App's definition can be edited by the user.

      Parameters:
      canEdit - A flag indicating whether the Q App's definition can be edited by the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.