Interface ListProspectingFromEngagementTasksRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListProspectingFromEngagementTasksRequest.Builder,,ListProspectingFromEngagementTasksRequest> PartnerCentralSellingRequest.Builder,SdkBuilder<ListProspectingFromEngagementTasksRequest.Builder,,ListProspectingFromEngagementTasksRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListProspectingFromEngagementTasksRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the catalog to list tasks from.maxResults(Integer maxResults) The maximum number of results to return in a single page.The pagination token from a previous call to this API.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies the field and order used to sort the returned tasks.Specifies the field and order used to sort the returned tasks.startAfter(Instant startAfter) Filters tasks to include only those that started after the specified timestamp.startBefore(Instant startBefore) Filters tasks to include only those that started before the specified timestamp.taskIdentifier(String... taskIdentifier) Filters the results to include only the tasks with the specified identifiers.taskIdentifier(Collection<String> taskIdentifier) Filters the results to include only the tasks with the specified identifiers.Filters the results to include only tasks with the specified names.taskName(Collection<String> taskName) Filters the results to include only tasks with the specified names.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 to list tasks from. Specify
AWSfor production environments andSandboxfor testing and development purposes.- Parameters:
catalog- Specifies the catalog to list tasks from. SpecifyAWSfor production environments andSandboxfor testing and development purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in a single page. If additional results exist, the response includes a
NextTokenvalue for retrieving the next page. If omitted, the API uses a service-defined default page size.- Parameters:
maxResults- The maximum number of results to return in a single page. If additional results exist, the response includes aNextTokenvalue for retrieving the next page. If omitted, the API uses a service-defined default page size.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token from a previous call to this API. Include this value to retrieve the next page of results. If omitted, the first page is returned.
- Parameters:
nextToken- The pagination token from a previous call to this API. Include this value to retrieve the next page of results. If omitted, the first page is returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskIdentifier
Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.
- Parameters:
taskIdentifier- Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskIdentifier
Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.
- Parameters:
taskIdentifier- Filters the results to include only the tasks with the specified identifiers. Provide up to 10 task IDs to narrow the list to specific tasks. If omitted, tasks are not filtered by identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskName
Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.
- Parameters:
taskName- Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskName
Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.
- Parameters:
taskName- Filters the results to include only tasks with the specified names. Provide up to 10 task names to narrow the list. If omitted, tasks are not filtered by name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAfter
Filters tasks to include only those that started after the specified timestamp. Use this with
StartBeforeto define a start-time range for your query. The format follows ISO 8601 date-time notation.- Parameters:
startAfter- Filters tasks to include only those that started after the specified timestamp. Use this withStartBeforeto define a start-time range for your query. The format follows ISO 8601 date-time notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startBefore
Filters tasks to include only those that started before the specified timestamp. Use this with
StartAfterto define a start-time range for your query. The format follows ISO 8601 date-time notation.- Parameters:
startBefore- Filters tasks to include only those that started before the specified timestamp. Use this withStartAfterto define a start-time range for your query. The format follows ISO 8601 date-time notation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
Specifies the field and order used to sort the returned tasks. If omitted, tasks are returned in the default sort order.
- Parameters:
sort- Specifies the field and order used to sort the returned tasks. If omitted, tasks are returned in the default sort order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sort
default ListProspectingFromEngagementTasksRequest.Builder sort(Consumer<ProspectingFromEngagementTaskSort.Builder> sort) Specifies the field and order used to sort the returned tasks. If omitted, tasks are returned in the default sort order.
This is a convenience method that creates an instance of theProspectingFromEngagementTaskSort.Builderavoiding the need to create one manually viaProspectingFromEngagementTaskSort.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosort(ProspectingFromEngagementTaskSort).- Parameters:
sort- a consumer that will call methods onProspectingFromEngagementTaskSort.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListProspectingFromEngagementTasksRequest.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
ListProspectingFromEngagementTasksRequest.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.
-