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
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 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
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.
-
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:
-
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
StartEngagementFromOpportunityTaskRequest.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
StartEngagementFromOpportunityTaskRequest.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.
-