Interface EngagementContextPayload.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EngagementContextPayload.Builder,EngagementContextPayload>,SdkBuilder<EngagementContextPayload.Builder,EngagementContextPayload>,SdkPojo
- Enclosing class:
- EngagementContextPayload
public static interface EngagementContextPayload.Builder extends SdkPojo, CopyableBuilder<EngagementContextPayload.Builder,EngagementContextPayload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EngagementContextPayload.BuildercustomerProject(Consumer<CustomerProjectsContext.Builder> customerProject)Contains detailed information about a customer project when the context type is "CustomerProject".EngagementContextPayload.BuildercustomerProject(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 Detail
-
customerProject
EngagementContextPayload.Builder customerProject(CustomerProjectsContext 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:
customerProject(CustomerProjectsContext)
-
-