Interface ListKeyPhrasesDetectionJobsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<ListKeyPhrasesDetectionJobsRequest.Builder,,ListKeyPhrasesDetectionJobsRequest> SdkBuilder<ListKeyPhrasesDetectionJobsRequest.Builder,,ListKeyPhrasesDetectionJobsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ListKeyPhrasesDetectionJobsRequest
public static interface ListKeyPhrasesDetectionJobsRequest.Builder
extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<ListKeyPhrasesDetectionJobsRequest.Builder,ListKeyPhrasesDetectionJobsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionFilters the jobs that are returned.filter(KeyPhrasesDetectionJobFilter filter) Filters the jobs that are returned.maxResults(Integer maxResults) The maximum number of results to return in each page.Identifies the next page of results to return.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filter
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
- Parameters:
filter- Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListKeyPhrasesDetectionJobsRequest.Builder filter(Consumer<KeyPhrasesDetectionJobFilter.Builder> filter) Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
This is a convenience method that creates an instance of theKeyPhrasesDetectionJobFilter.Builderavoiding the need to create one manually viaKeyPhrasesDetectionJobFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(KeyPhrasesDetectionJobFilter).- Parameters:
filter- a consumer that will call methods onKeyPhrasesDetectionJobFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Identifies the next page of results to return.
- Parameters:
nextToken- Identifies the next page of results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return in each page. The default is 100.
- Parameters:
maxResults- The maximum number of results to return in each page. The default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListKeyPhrasesDetectionJobsRequest.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
ListKeyPhrasesDetectionJobsRequest.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.
-