Interface UpdateEngagementContextPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateEngagementContextPayload.Builder,,UpdateEngagementContextPayload> SdkBuilder<UpdateEngagementContextPayload.Builder,,UpdateEngagementContextPayload> SdkPojo
- Enclosing class:
UpdateEngagementContextPayload
@Mutable
@NotThreadSafe
public static interface UpdateEngagementContextPayload.Builder
extends SdkPojo, CopyableBuilder<UpdateEngagementContextPayload.Builder,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".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:
-