Interface EngagementContextPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EngagementContextPayload.Builder,,EngagementContextPayload> SdkBuilder<EngagementContextPayload.Builder,,EngagementContextPayload> SdkPojo
- Enclosing class:
EngagementContextPayload
-
Method Summary
Modifier and TypeMethodDescriptiondefault EngagementContextPayload.BuildercustomerProject(Consumer<CustomerProjectsContext.Builder> customerProject) Contains detailed information about a customer project when the context type is "CustomerProject".customerProject(CustomerProjectsContext customerProject) Contains detailed information about a customer project when the context type is "CustomerProject".default EngagementContextPayload.Builderlead(Consumer<LeadContext.Builder> lead) Contains detailed information about a lead when the context type is "Lead".lead(LeadContext lead) Contains detailed 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
-
customerProject
Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".
- Parameters:
customerProject- Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerProject
default EngagementContextPayload.Builder customerProject(Consumer<CustomerProjectsContext.Builder> customerProject) Contains detailed information about a customer project when the context type is "CustomerProject". This field is present only when the Type in EngagementContextDetails is set to "CustomerProject".
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:
-
lead
Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".
- Parameters:
lead- Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lead
Contains detailed information about a lead when the context type is "Lead". This field is present only when the Type in EngagementContextDetails is set to "Lead".
This is a convenience method that creates an instance of theLeadContext.Builderavoiding the need to create one manually viaLeadContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolead(LeadContext).- Parameters:
lead- a consumer that will call methods onLeadContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-