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 Details

    • opportunityInvitation

      Payload.Builder opportunityInvitation(OpportunityInvitationPayload 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 the OpportunityInvitationPayload.Builder avoiding the need to create one manually via OpportunityInvitationPayload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to opportunityInvitation(OpportunityInvitationPayload).

      Parameters:
      opportunityInvitation - a consumer that will call methods on OpportunityInvitationPayload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • leadInvitation

      Payload.Builder leadInvitation(LeadInvitationPayload 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

      default Payload.Builder leadInvitation(Consumer<LeadInvitationPayload.Builder> 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 the LeadInvitationPayload.Builder avoiding the need to create one manually via LeadInvitationPayload.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to leadInvitation(LeadInvitationPayload).

      Parameters:
      leadInvitation - a consumer that will call methods on LeadInvitationPayload.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: