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.Buildercustomer(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.BuilderInformation 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
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
-
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.Builderavoiding the need to create one manually viaEngagementCustomer.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaEngagementCustomerProjectDetails.builder().When the
Consumercompletes,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:
-