Interface EngagementContextPayload.Builder

  • Method Details

    • customerProject

      Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".

      Parameters:
      customerProject - Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customerProject

      Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".

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

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

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

      Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".

      Parameters:
      lead - Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lead

      Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".

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

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

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

      EngagementContextPayload.Builder prospectingResult(ProspectingResult prospectingResult)

      Contains prospecting result data with enriched insights. The system generates these insights when a partner runs an autonomous prospecting job on leads. This field appears only when the context type is "ProspectingResult".

      Parameters:
      prospectingResult - Contains prospecting result data with enriched insights. The system generates these insights when a partner runs an autonomous prospecting job on leads. This field appears only when the context type is "ProspectingResult".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • prospectingResult

      default EngagementContextPayload.Builder prospectingResult(Consumer<ProspectingResult.Builder> prospectingResult)

      Contains prospecting result data with enriched insights. The system generates these insights when a partner runs an autonomous prospecting job on leads. This field appears only when the context type is "ProspectingResult".

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

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

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