Interface CreateEngagementInvitationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateEngagementInvitationRequest.Builder,
,CreateEngagementInvitationRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<CreateEngagementInvitationRequest.Builder,
,CreateEngagementInvitationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateEngagementInvitationRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog related to the engagement.clientToken
(String clientToken) Specifies a unique, client-generated UUID to ensure that the request is handled exactly once.engagementIdentifier
(String engagementIdentifier) The unique identifier of theEngagement
associated with the invitation.invitation
(Consumer<Invitation.Builder> invitation) TheInvitation
object all information necessary to initiate an engagement invitation to a partner.invitation
(Invitation invitation) TheInvitation
object all information necessary to initiate an engagement invitation to a partner.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
build
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 Details
-
catalog
Specifies the catalog related to the engagement. Accepted values are
AWS
andSandbox
, which determine the environment in which the engagement is managed.- Parameters:
catalog
- Specifies the catalog related to the engagement. Accepted values areAWS
andSandbox
, which determine the environment in which the engagement is managed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate invitation creations.
- Parameters:
clientToken
- Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate invitation creations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
The unique identifier of the
Engagement
associated with the invitation. This parameter ensures the invitation is created within the correctEngagement
context.- Parameters:
engagementIdentifier
- The unique identifier of theEngagement
associated with the invitation. This parameter ensures the invitation is created within the correctEngagement
context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitation
The
Invitation
object all information necessary to initiate an engagement invitation to a partner. It contains a personalized message from the sender, the invitation's receiver, and a payload. ThePayload
can be theOpportunityInvitation
, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.- Parameters:
invitation
- TheInvitation
object all information necessary to initiate an engagement invitation to a partner. It contains a personalized message from the sender, the invitation's receiver, and a payload. ThePayload
can be theOpportunityInvitation
, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitation
default CreateEngagementInvitationRequest.Builder invitation(Consumer<Invitation.Builder> invitation) The
This is a convenience method that creates an instance of theInvitation
object all information necessary to initiate an engagement invitation to a partner. It contains a personalized message from the sender, the invitation's receiver, and a payload. ThePayload
can be theOpportunityInvitation
, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.Invitation.Builder
avoiding the need to create one manually viaInvitation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinvitation(Invitation)
.- Parameters:
invitation
- a consumer that will call methods onInvitation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateEngagementInvitationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateEngagementInvitationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-