Class LeadInteraction

java.lang.Object
software.amazon.awssdk.services.partnercentralselling.model.LeadInteraction
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<LeadInteraction.Builder,LeadInteraction>

@Generated("software.amazon.awssdk:codegen") public final class LeadInteraction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LeadInteraction.Builder,LeadInteraction>

Represents a specific interaction or touchpoint with a lead customer. This structure captures details about communications, meetings, or other engagement activities that help track the lead's progression and engagement history.

See Also:
  • Method Details

    • sourceType

      public final 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.

      Returns:
      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.
    • sourceId

      public final 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.

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

      public final 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.

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

      public final 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.

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

      public final 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.

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

      public final 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.

      Returns:
      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.
    • businessProblem

      public final 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.

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

      public final LeadContact contact()

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

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

      public LeadInteraction.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<LeadInteraction.Builder,LeadInteraction>
      Returns:
      a builder for type T
    • builder

      public static LeadInteraction.Builder builder()
    • serializableBuilderClass

      public static Class<? extends LeadInteraction.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.