Interface StartOpportunityFromEngagementTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartOpportunityFromEngagementTaskRequest.Builder,,StartOpportunityFromEngagementTaskRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<StartOpportunityFromEngagementTaskRequest.Builder,,StartOpportunityFromEngagementTaskRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
StartOpportunityFromEngagementTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog in which the opportunity creation task is executed.clientToken(String clientToken) A unique token provided by the client to help ensure the idempotency of the request.contextIdentifier(String contextIdentifier) The unique identifier of the engagement context from which to create the opportunity.identifier(String identifier) The unique identifier of the engagement from which the opportunity creation task is to be initiated.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) A map of the key-value pairs of the tag or tags to assign.tags(Consumer<Tag.Builder>... tags) A map of the key-value pairs of the tag or tags to assign.A map of the key-value pairs of the tag or tags to assign.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 in which the opportunity creation task is executed. Acceptable values include
AWSfor production andSandboxfor testing environments.- Parameters:
catalog- Specifies the catalog in which the opportunity creation task is executed. Acceptable values includeAWSfor production andSandboxfor testing environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique token provided by the client to help ensure the idempotency of the request. It helps prevent the same task from being performed multiple times.
- Parameters:
clientToken- A unique token provided by the client to help ensure the idempotency of the request. It helps prevent the same task from being performed multiple times.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
The unique identifier of the engagement from which the opportunity creation task is to be initiated. This helps ensure that the task is applied to the correct engagement.
- Parameters:
identifier- The unique identifier of the engagement from which the opportunity creation task is to be initiated. This helps ensure that the task is applied to the correct engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextIdentifier
The unique identifier of the engagement context from which to create the opportunity. This specifies the specific contextual information within the engagement that will be used for opportunity creation.
- Parameters:
contextIdentifier- The unique identifier of the engagement context from which to create the opportunity. This specifies the specific contextual information within the engagement that will be used for opportunity creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs of the tag or tags to assign.
- Parameters:
tags- A map of the key-value pairs of the tag or tags to assign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs of the tag or tags to assign.
- Parameters:
tags- A map of the key-value pairs of the tag or tags to assign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of the key-value pairs of the tag or tags to assign.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartOpportunityFromEngagementTaskRequest.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
StartOpportunityFromEngagementTaskRequest.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.
-