Interface UpdateEngagementContextPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateEngagementContextPayload.Builder,,UpdateEngagementContextPayload> SdkBuilder<UpdateEngagementContextPayload.Builder,,UpdateEngagementContextPayload> SdkPojo
- Enclosing class:
UpdateEngagementContextPayload
-
Method Summary
Modifier and TypeMethodDescriptioncustomerProject(Consumer<CustomerProjectsContext.Builder> customerProject) Sets the value of the CustomerProject property for this object.customerProject(CustomerProjectsContext customerProject) Sets the value of the CustomerProject property for this object.Contains updated information about a lead when the context type is "Lead".lead(UpdateLeadContext lead) Contains updated information about a lead when the context type is "Lead".prospectingResult(Consumer<ProspectingResult.Builder> prospectingResult) Contains updated prospecting result data when the context type is "ProspectingResult".prospectingResult(ProspectingResult prospectingResult) Contains updated prospecting result data when the context type is "ProspectingResult".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
-
lead
Contains updated information about a lead when the context type is "Lead". This field is present only when updating a lead context within the engagement.
- Parameters:
lead- Contains updated information about a lead when the context type is "Lead". This field is present only when updating a lead context within the engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lead
Contains updated information about a lead when the context type is "Lead". This field is present only when updating a lead context within the engagement.
This is a convenience method that creates an instance of theUpdateLeadContext.Builderavoiding the need to create one manually viaUpdateLeadContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolead(UpdateLeadContext).- Parameters:
lead- a consumer that will call methods onUpdateLeadContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customerProject
Sets the value of the CustomerProject property for this object.- Parameters:
customerProject- The new value for the CustomerProject property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerProject
default UpdateEngagementContextPayload.Builder customerProject(Consumer<CustomerProjectsContext.Builder> customerProject) Sets the value of the CustomerProject property for this object. This is a convenience method that creates an instance of theCustomerProjectsContext.Builderavoiding the need to create one manually viaCustomerProjectsContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomerProject(CustomerProjectsContext).- Parameters:
customerProject- a consumer that will call methods onCustomerProjectsContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
prospectingResult
Contains updated prospecting result data when the context type is "ProspectingResult". This field includes enriched data and insights that the system generates when a partner runs an autonomous prospecting job on leads.
- Parameters:
prospectingResult- Contains updated prospecting result data when the context type is "ProspectingResult". This field includes enriched data and insights that the system generates when a partner runs an autonomous prospecting job on leads.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prospectingResult
default UpdateEngagementContextPayload.Builder prospectingResult(Consumer<ProspectingResult.Builder> prospectingResult) Contains updated prospecting result data when the context type is "ProspectingResult". This field includes enriched data and insights that the system generates when a partner runs an autonomous prospecting job on leads.
This is a convenience method that creates an instance of theProspectingResult.Builderavoiding the need to create one manually viaProspectingResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprospectingResult(ProspectingResult).- Parameters:
prospectingResult- a consumer that will call methods onProspectingResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-