Interface FormInputCard.Builder

  • Method Details

    • id

      The unique identifier of the form input card.

      Parameters:
      id - The unique identifier of the form input card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • title

      The title of the form input card.

      Parameters:
      title - The title of the form input card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencies

      FormInputCard.Builder dependencies(Collection<String> dependencies)

      Any dependencies or requirements for the form input card.

      Parameters:
      dependencies - Any dependencies or requirements for the form input card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dependencies

      FormInputCard.Builder dependencies(String... dependencies)

      Any dependencies or requirements for the form input card.

      Parameters:
      dependencies - Any dependencies or requirements for the form input card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of the card.

      Parameters:
      type - The type of the card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of the card.

      Parameters:
      type - The type of the card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • metadata

      The metadata that defines the form input card data.

      Parameters:
      metadata - The metadata that defines the form input card data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      The metadata that defines the form input card data.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metadata(FormInputCardMetadata).

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

      FormInputCard.Builder computeMode(String computeMode)

      The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.

      Parameters:
      computeMode - The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • computeMode

      FormInputCard.Builder computeMode(InputCardComputeMode computeMode)

      The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.

      Parameters:
      computeMode - The compute mode of the form input card. This property determines whether individual participants of a data collection session can submit multiple response or one response. A compute mode of append shall allow participants to submit the same form multiple times with different values. A compute mode of replacecode> shall overwrite the current value for each participant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: