Interface StartEngagementFromOpportunityTaskRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartEngagementFromOpportunityTaskRequest.Builder,
,StartEngagementFromOpportunityTaskRequest> PartnerCentralSellingRequest.Builder
,SdkBuilder<StartEngagementFromOpportunityTaskRequest.Builder,
,StartEngagementFromOpportunityTaskRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartEngagementFromOpportunityTaskRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsSubmission
(Consumer<AwsSubmission.Builder> awsSubmission) Sets the value of the AwsSubmission property for this object.awsSubmission
(AwsSubmission awsSubmission) Sets the value of the AwsSubmission property for this object.Specifies the catalog in which the engagement is tracked.clientToken
(String clientToken) A unique token provided by the client to help ensure the idempotency of the request.identifier
(String identifier) The unique identifier of the opportunity from which the engagement 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
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
-
awsSubmission
Sets the value of the AwsSubmission property for this object.- Parameters:
awsSubmission
- The new value for the AwsSubmission property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsSubmission
default StartEngagementFromOpportunityTaskRequest.Builder awsSubmission(Consumer<AwsSubmission.Builder> awsSubmission) Sets the value of the AwsSubmission property for this object. This is a convenience method that creates an instance of theAwsSubmission.Builder
avoiding the need to create one manually viaAwsSubmission.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toawsSubmission(AwsSubmission)
.- Parameters:
awsSubmission
- a consumer that will call methods onAwsSubmission.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
Specifies the catalog in which the engagement is tracked. Acceptable values include
AWS
for production andSandbox
for testing environments.- Parameters:
catalog
- Specifies the catalog in which the engagement is tracked. Acceptable values includeAWS
for production andSandbox
for 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 opportunity from which the engagement task is to be initiated. This helps ensure that the task is applied to the correct opportunity.
- Parameters:
identifier
- The unique identifier of the opportunity from which the engagement task is to be initiated. This helps ensure that the task is applied to the correct opportunity.- 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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
StartEngagementFromOpportunityTaskRequest.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
StartEngagementFromOpportunityTaskRequest.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.
-