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 theEngagementassociated with the invitation.invitation(Consumer<Invitation.Builder> invitation) TheInvitationobject all information necessary to initiate an engagement invitation to a partner.invitation(Invitation invitation) TheInvitationobject 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.partnercentralselling.model.PartnerCentralSellingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
catalog
Specifies the catalog related to the engagement. Accepted values are
AWSandSandbox, which determine the environment in which the engagement is managed.- Parameters:
catalog- Specifies the catalog related to the engagement. Accepted values areAWSandSandbox, 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
Engagementassociated with the invitation. This parameter ensures the invitation is created within the correctEngagementcontext.- Parameters:
engagementIdentifier- The unique identifier of theEngagementassociated with the invitation. This parameter ensures the invitation is created within the correctEngagementcontext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
invitation
The
Invitationobject 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. ThePayloadcan be theOpportunityInvitation, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.- Parameters:
invitation- TheInvitationobject 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. ThePayloadcan 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 theInvitationobject 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. ThePayloadcan be theOpportunityInvitation, which includes detailed structures for sender contacts, partner responsibilities, customer information, and project details.Invitation.Builderavoiding the need to create one manually viaInvitation.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-