Interface UpdateLeadContext.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateLeadContext.Builder,,UpdateLeadContext> SdkBuilder<UpdateLeadContext.Builder,,UpdateLeadContext> SdkPojo
- Enclosing class:
UpdateLeadContext
@Mutable
@NotThreadSafe
public static interface UpdateLeadContext.Builder
extends SdkPojo, CopyableBuilder<UpdateLeadContext.Builder,UpdateLeadContext>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateLeadContext.Buildercustomer(Consumer<LeadCustomer.Builder> customer) Updated customer information associated with the lead.customer(LeadCustomer customer) Updated customer information associated with the lead.default UpdateLeadContext.Builderinteraction(Consumer<LeadInteraction.Builder> interaction) Updated interaction details for the lead context.interaction(LeadInteraction interaction) Updated interaction details for the lead context.qualificationStatus(String qualificationStatus) The updated qualification status of the lead.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
-
qualificationStatus
The updated qualification status of the lead.
- Parameters:
qualificationStatus- The updated qualification status of the lead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
Updated customer information associated with the lead.
- Parameters:
customer- Updated customer information associated with the lead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
Updated customer information associated with the lead.
This is a convenience method that creates an instance of theLeadCustomer.Builderavoiding the need to create one manually viaLeadCustomer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomer(LeadCustomer).- Parameters:
customer- a consumer that will call methods onLeadCustomer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
interaction
Updated interaction details for the lead context.
- Parameters:
interaction- Updated interaction details for the lead context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interaction
Updated interaction details for the lead context.
This is a convenience method that creates an instance of theLeadInteraction.Builderavoiding the need to create one manually viaLeadInteraction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointeraction(LeadInteraction).- Parameters:
interaction- a consumer that will call methods onLeadInteraction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-