Interface LeadInteraction.Builder

  • Method Details

    • sourceType

      LeadInteraction.Builder sourceType(String sourceType)

      Specifies the type of source that generated the lead interaction, such as "Event", "Website", "Referral", or "Campaign". This categorization helps track lead generation effectiveness across different channels.

      Parameters:
      sourceType - Specifies the type of source that generated the lead interaction, such as "Event", "Website", "Referral", or "Campaign". This categorization helps track lead generation effectiveness across different channels.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceId

      LeadInteraction.Builder sourceId(String sourceId)

      The unique identifier of the specific source that generated the lead interaction. This ID provides traceability back to the original lead generation activity.

      Parameters:
      sourceId - The unique identifier of the specific source that generated the lead interaction. This ID provides traceability back to the original lead generation activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceName

      LeadInteraction.Builder sourceName(String sourceName)

      The descriptive name of the source that generated the lead interaction, providing a human-readable identifier for the lead generation channel or activity.

      Parameters:
      sourceName - The descriptive name of the source that generated the lead interaction, providing a human-readable identifier for the lead generation channel or activity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • usecase

      LeadInteraction.Builder usecase(String usecase)

      Describes the specific use case or business scenario discussed during the lead interaction. This helps categorize the customer's interests and potential solutions.

      Parameters:
      usecase - Describes the specific use case or business scenario discussed during the lead interaction. This helps categorize the customer's interests and potential solutions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • interactionDate

      LeadInteraction.Builder interactionDate(Instant interactionDate)

      The date and time when the lead interaction occurred, in ISO 8601 format (UTC). This timestamp helps track the chronology of lead engagement activities.

      Parameters:
      interactionDate - The date and time when the lead interaction occurred, in ISO 8601 format (UTC). This timestamp helps track the chronology of lead engagement activities.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerAction

      LeadInteraction.Builder customerAction(String customerAction)

      Describes the action taken by the customer during or as a result of the interaction, such as requesting information, scheduling a meeting, or expressing interest in a solution.

      Parameters:
      customerAction - Describes the action taken by the customer during or as a result of the interaction, such as requesting information, scheduling a meeting, or expressing interest in a solution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • businessProblem

      LeadInteraction.Builder businessProblem(String businessProblem)

      Describes the business problem or challenge that the customer discussed during the interaction. This information helps qualify the lead and identify appropriate solutions.

      Parameters:
      businessProblem - Describes the business problem or challenge that the customer discussed during the interaction. This information helps qualify the lead and identify appropriate solutions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contact

      Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.

      Parameters:
      contact - Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contact

      Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.

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

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

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