Interface LeadInteraction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<LeadInteraction.Builder,,LeadInteraction> SdkBuilder<LeadInteraction.Builder,,LeadInteraction> SdkPojo
- Enclosing class:
LeadInteraction
-
Method Summary
Modifier and TypeMethodDescriptionbusinessProblem(String businessProblem) Describes the business problem or challenge that the customer discussed during the interaction.default LeadInteraction.Buildercontact(Consumer<LeadContact.Builder> contact) Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.contact(LeadContact contact) Contains contact information for the customer representative involved in the lead interaction, including their name, title, and contact details.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.interactionDate(Instant interactionDate) The date and time when the lead interaction occurred, in ISO 8601 format (UTC).The unique identifier of the specific source that generated the lead interaction.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.sourceType(String sourceType) Specifies the type of source that generated the lead interaction, such as "Event", "Website", "Referral", or "Campaign".Describes the specific use case or business scenario discussed during the lead interaction.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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
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 theLeadContact.Builderavoiding the need to create one manually viaLeadContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontact(LeadContact).- Parameters:
contact- a consumer that will call methods onLeadContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-