Interface ListOpportunityFromEngagementTasksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListOpportunityFromEngagementTasksRequest.Builder,,ListOpportunityFromEngagementTasksRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<ListOpportunityFromEngagementTasksRequest.Builder,,ListOpportunityFromEngagementTasksRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListOpportunityFromEngagementTasksRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog related to the request.contextIdentifier(String... contextIdentifier) Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation.contextIdentifier(Collection<String> contextIdentifier) Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation.engagementIdentifier(String... engagementIdentifier) Filters tasks by the identifiers of the engagements from which opportunities are being created.engagementIdentifier(Collection<String> engagementIdentifier) Filters tasks by the identifiers of the engagements from which opportunities are being created.maxResults(Integer maxResults) Specifies the maximum number of results to return in a single page of the response.The token for requesting the next page of results.opportunityIdentifier(String... opportunityIdentifier) Filters tasks by the identifiers of the opportunities they created or are associated with.opportunityIdentifier(Collection<String> opportunityIdentifier) Filters tasks by the identifiers of the opportunities they created or are associated with.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Sets the value of the Sort property for this object.sort(ListTasksSortBase sort) Sets the value of the Sort property for this object.taskIdentifier(String... taskIdentifier) Filters tasks by their unique identifiers.taskIdentifier(Collection<String> taskIdentifier) Filters tasks by their unique identifiers.taskStatus(Collection<TaskStatus> taskStatus) Filters the tasks based on their current status.taskStatus(TaskStatus... taskStatus) Filters the tasks based on their current status.taskStatusWithStrings(String... taskStatus) Filters the tasks based on their current status.taskStatusWithStrings(Collection<String> taskStatus) Filters the tasks based on their current status.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
-
maxResults
Specifies the maximum number of results to return in a single page of the response. Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.
- Parameters:
maxResults- Specifies the maximum number of results to return in a single page of the response. Use this parameter to control the number of items returned in each request, which can be useful for performance tuning and managing large result sets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for requesting the next page of results. This value is obtained from the NextToken field in the response of a previous call to this API. Use this parameter for pagination when the result set spans multiple pages.
- Parameters:
nextToken- The token for requesting the next page of results. This value is obtained from the NextToken field in the response of a previous call to this API. Use this parameter for pagination when the result set spans multiple pages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Sets the value of the Sort property for this object.- Parameters:
sort- The new value for the Sort property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListOpportunityFromEngagementTasksRequest.Builder sort(Consumer<ListTasksSortBase.Builder> sort) Sets the value of the Sort property for this object. This is a convenience method that creates an instance of theListTasksSortBase.Builderavoiding the need to create one manually viaListTasksSortBase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(ListTasksSortBase).- Parameters:
sort- a consumer that will call methods onListTasksSortBase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
catalog
Specifies the catalog related to the request. Valid values are
AWSfor production environments andSandboxfor testing or development purposes. The catalog determines which environment the task data is retrieved from.- Parameters:
catalog- Specifies the catalog related to the request. Valid values areAWSfor production environments andSandboxfor testing or development purposes. The catalog determines which environment the task data is retrieved from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatusWithStrings
ListOpportunityFromEngagementTasksRequest.Builder taskStatusWithStrings(Collection<String> taskStatus) Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values are
COMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Parameters:
taskStatus- Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values areCOMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatusWithStrings
Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values are
COMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Parameters:
taskStatus- Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values areCOMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values are
COMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Parameters:
taskStatus- Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values areCOMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskStatus
Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values are
COMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Parameters:
taskStatus- Filters the tasks based on their current status. This allows you to focus on tasks in specific states. Valid values areCOMPLETEfor tasks that have finished successfully,INPROGRESSfor tasks that are currently running, andFAILEDfor tasks that have encountered an error and failed to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskIdentifier
Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks. Provide the task ID to get details about a particular opportunity creation task.
- Parameters:
taskIdentifier- Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks. Provide the task ID to get details about a particular opportunity creation task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskIdentifier
Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks. Provide the task ID to get details about a particular opportunity creation task.
- Parameters:
taskIdentifier- Filters tasks by their unique identifiers. Use this when you want to retrieve information about specific tasks. Provide the task ID to get details about a particular opportunity creation task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunityIdentifier
ListOpportunityFromEngagementTasksRequest.Builder opportunityIdentifier(Collection<String> opportunityIdentifier) Filters tasks by the identifiers of the opportunities they created or are associated with. Use this to find tasks related to specific opportunity creation processes.
- Parameters:
opportunityIdentifier- Filters tasks by the identifiers of the opportunities they created or are associated with. Use this to find tasks related to specific opportunity creation processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opportunityIdentifier
ListOpportunityFromEngagementTasksRequest.Builder opportunityIdentifier(String... opportunityIdentifier) Filters tasks by the identifiers of the opportunities they created or are associated with. Use this to find tasks related to specific opportunity creation processes.
- Parameters:
opportunityIdentifier- Filters tasks by the identifiers of the opportunities they created or are associated with. Use this to find tasks related to specific opportunity creation processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
ListOpportunityFromEngagementTasksRequest.Builder engagementIdentifier(Collection<String> engagementIdentifier) Filters tasks by the identifiers of the engagements from which opportunities are being created. Use this to find all opportunity creation tasks associated with a specific engagement.
- Parameters:
engagementIdentifier- Filters tasks by the identifiers of the engagements from which opportunities are being created. Use this to find all opportunity creation tasks associated with a specific engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
engagementIdentifier
ListOpportunityFromEngagementTasksRequest.Builder engagementIdentifier(String... engagementIdentifier) Filters tasks by the identifiers of the engagements from which opportunities are being created. Use this to find all opportunity creation tasks associated with a specific engagement.
- Parameters:
engagementIdentifier- Filters tasks by the identifiers of the engagements from which opportunities are being created. Use this to find all opportunity creation tasks associated with a specific engagement.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextIdentifier
ListOpportunityFromEngagementTasksRequest.Builder contextIdentifier(Collection<String> contextIdentifier) Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation. Use this to find tasks related to specific contextual information within engagements that are being converted to opportunities.
- Parameters:
contextIdentifier- Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation. Use this to find tasks related to specific contextual information within engagements that are being converted to opportunities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextIdentifier
Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation. Use this to find tasks related to specific contextual information within engagements that are being converted to opportunities.
- Parameters:
contextIdentifier- Filters tasks by the identifiers of the engagement contexts associated with the opportunity creation. Use this to find tasks related to specific contextual information within engagements that are being converted to opportunities.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListOpportunityFromEngagementTasksRequest.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
ListOpportunityFromEngagementTasksRequest.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.
-