Interface StartEngagementFromOpportunityTaskRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartEngagementFromOpportunityTaskRequest.Builder,StartEngagementFromOpportunityTaskRequest>,PartnerCentralSellingRequest.Builder,SdkBuilder<StartEngagementFromOpportunityTaskRequest.Builder,StartEngagementFromOpportunityTaskRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartEngagementFromOpportunityTaskRequest
public static interface StartEngagementFromOpportunityTaskRequest.Builder extends PartnerCentralSellingRequest.Builder, SdkPojo, CopyableBuilder<StartEngagementFromOpportunityTaskRequest.Builder,StartEngagementFromOpportunityTaskRequest>
-
-
Method Summary
-
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 Detail
-
awsSubmission
StartEngagementFromOpportunityTaskRequest.Builder awsSubmission(AwsSubmission 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.Builderavoiding the need to create one manually viaAwsSubmission.builder().When the
Consumercompletes,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:
awsSubmission(AwsSubmission)
-
catalog
StartEngagementFromOpportunityTaskRequest.Builder catalog(String catalog)
Specifies the catalog in which the engagement is tracked. Acceptable values include
AWSfor production andSandboxfor testing environments.- Parameters:
catalog- Specifies the catalog in which the engagement is tracked. Acceptable values includeAWSfor production andSandboxfor testing environments.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
StartEngagementFromOpportunityTaskRequest.Builder clientToken(String 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
StartEngagementFromOpportunityTaskRequest.Builder identifier(String 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
StartEngagementFromOpportunityTaskRequest.Builder tags(Collection<Tag> tags)
A list of objects specifying each tag name and value.
- Parameters:
tags- A list of objects specifying each tag name and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartEngagementFromOpportunityTaskRequest.Builder tags(Tag... tags)
A list of objects specifying each tag name and value.
- Parameters:
tags- A list of objects specifying each tag name and value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
StartEngagementFromOpportunityTaskRequest.Builder tags(Consumer<Tag.Builder>... tags)
A list of objects specifying each tag name and value.
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 to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
StartEngagementFromOpportunityTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartEngagementFromOpportunityTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-