Interface Payload.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Payload.Builder,Payload>,SdkBuilder<Payload.Builder,Payload>,SdkPojo
- Enclosing class:
- Payload
public static interface Payload.Builder extends SdkPojo, CopyableBuilder<Payload.Builder,Payload>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Payload.BuilderopportunityInvitation(Consumer<OpportunityInvitationPayload.Builder> opportunityInvitation)Specifies the details of the opportunity invitation within the Engagement Invitation payload.Payload.BuilderopportunityInvitation(OpportunityInvitationPayload opportunityInvitation)Specifies the details of the opportunity invitation within the Engagement Invitation payload.-
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 Detail
-
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 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:
opportunityInvitation(OpportunityInvitationPayload)
-
-