Interface Payload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Payload.Builder,,Payload> SdkBuilder<Payload.Builder,,Payload> SdkPojo
- Enclosing class:
Payload
@Mutable
@NotThreadSafe
public static interface Payload.Builder
extends SdkPojo, CopyableBuilder<Payload.Builder,Payload>
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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:
-