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.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".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:
-