Interface Payload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Payload.Builder,,Payload> SdkBuilder<Payload.Builder,,Payload> SdkPojo
- Enclosing class:
Payload
-
Method Summary
Modifier and TypeMethodDescriptiondefault Payload.BuilderleadInvitation(Consumer<LeadInvitationPayload.Builder> leadInvitation) Specifies the details of the lead invitation within the Engagement Invitation payload.leadInvitation(LeadInvitationPayload leadInvitation) Specifies the details of the lead invitation within the Engagement Invitation payload.default Payload.BuilderopportunityInvitation(Consumer<OpportunityInvitationPayload.Builder> opportunityInvitation) Specifies the details of the opportunity invitation within the Engagement Invitation payload.opportunityInvitation(OpportunityInvitationPayload opportunityInvitation) Specifies the details of the opportunity invitation within the Engagement Invitation payload.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
-
opportunityInvitation
Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
- Parameters:
opportunityInvitation- Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunityInvitation
default Payload.Builder opportunityInvitation(Consumer<OpportunityInvitationPayload.Builder> opportunityInvitation) Specifies the details of the opportunity invitation within the Engagement Invitation payload. This data helps partners understand the context, scope, and expected involvement for the opportunity from AWS.
This is a convenience method that creates an instance of theOpportunityInvitationPayload.Builderavoiding the need to create one manually viaOpportunityInvitationPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toopportunityInvitation(OpportunityInvitationPayload).- Parameters:
opportunityInvitation- a consumer that will call methods onOpportunityInvitationPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
leadInvitation
Specifies the details of the lead invitation within the Engagement Invitation payload. This data helps partners understand the lead context, customer information, and interaction history for the lead opportunity from AWS.
- Parameters:
leadInvitation- Specifies the details of the lead invitation within the Engagement Invitation payload. This data helps partners understand the lead context, customer information, and interaction history for the lead opportunity from AWS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
leadInvitation
Specifies the details of the lead invitation within the Engagement Invitation payload. This data helps partners understand the lead context, customer information, and interaction history for the lead opportunity from AWS.
This is a convenience method that creates an instance of theLeadInvitationPayload.Builderavoiding the need to create one manually viaLeadInvitationPayload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toleadInvitation(LeadInvitationPayload).- Parameters:
leadInvitation- a consumer that will call methods onLeadInvitationPayload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-