Interface EngagementContextPayload.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<EngagementContextPayload.Builder,
,EngagementContextPayload> SdkBuilder<EngagementContextPayload.Builder,
,EngagementContextPayload> SdkPojo
- Enclosing class:
EngagementContextPayload
@Mutable
@NotThreadSafe
public static interface EngagementContextPayload.Builder
extends SdkPojo, CopyableBuilder<EngagementContextPayload.Builder,EngagementContextPayload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EngagementContextPayload.Builder
customerProject
(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".Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaCustomerProjectsContext.builder()
.When the
Consumer
completes,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:
-