Interface CustomerProjectsContext.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomerProjectsContext.Builder,
,CustomerProjectsContext> SdkBuilder<CustomerProjectsContext.Builder,
,CustomerProjectsContext> SdkPojo
- Enclosing class:
CustomerProjectsContext
@Mutable
@NotThreadSafe
public static interface CustomerProjectsContext.Builder
extends SdkPojo, CopyableBuilder<CustomerProjectsContext.Builder,CustomerProjectsContext>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomerProjectsContext.Builder
customer
(Consumer<EngagementCustomer.Builder> customer) Sets the value of the Customer property for this object.customer
(EngagementCustomer customer) Sets the value of the Customer property for this object.default CustomerProjectsContext.Builder
Information about the customer project associated with the Engagement.project
(EngagementCustomerProjectDetails project) Information about the customer project associated with the Engagement.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
-
customer
Sets the value of the Customer property for this object.- Parameters:
customer
- The new value for the Customer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
Sets the value of the Customer property for this object. This is a convenience method that creates an instance of theEngagementCustomer.Builder
avoiding the need to create one manually viaEngagementCustomer.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomer(EngagementCustomer)
.- Parameters:
customer
- a consumer that will call methods onEngagementCustomer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
project
Information about the customer project associated with the Engagement.
- Parameters:
project
- Information about the customer project associated with the Engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
default CustomerProjectsContext.Builder project(Consumer<EngagementCustomerProjectDetails.Builder> project) Information about the customer project associated with the Engagement.
This is a convenience method that creates an instance of theEngagementCustomerProjectDetails.Builder
avoiding the need to create one manually viaEngagementCustomerProjectDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproject(EngagementCustomerProjectDetails)
.- Parameters:
project
- a consumer that will call methods onEngagementCustomerProjectDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-