Interface CardValue.Builder

  • Method Details

    • cardId

      CardValue.Builder cardId(String cardId)

      The unique identifier of the card.

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

      CardValue.Builder value(String value)

      The value or result associated with the card.

      Parameters:
      value - The value or result associated with the card.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submissionMutation

      CardValue.Builder submissionMutation(SubmissionMutation submissionMutation)

      The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.

      Parameters:
      submissionMutation - The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • submissionMutation

      default CardValue.Builder submissionMutation(Consumer<SubmissionMutation.Builder> submissionMutation)

      The structure that describes how the current form card value is mutated. Only applies for form cards when multiple responses are allowed.

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

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

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