Interface ListSentimentDetectionJobsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ComprehendRequest.Builder,CopyableBuilder<ListSentimentDetectionJobsRequest.Builder,ListSentimentDetectionJobsRequest>,SdkBuilder<ListSentimentDetectionJobsRequest.Builder,ListSentimentDetectionJobsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListSentimentDetectionJobsRequest
public static interface ListSentimentDetectionJobsRequest.Builder extends ComprehendRequest.Builder, SdkPojo, CopyableBuilder<ListSentimentDetectionJobsRequest.Builder,ListSentimentDetectionJobsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListSentimentDetectionJobsRequest.Builderfilter(Consumer<SentimentDetectionJobFilter.Builder> filter)Filters the jobs that are returned.ListSentimentDetectionJobsRequest.Builderfilter(SentimentDetectionJobFilter filter)Filters the jobs that are returned.ListSentimentDetectionJobsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return in each page.ListSentimentDetectionJobsRequest.BuildernextToken(String nextToken)Identifies the next page of results to return.ListSentimentDetectionJobsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSentimentDetectionJobsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
filter
ListSentimentDetectionJobsRequest.Builder filter(SentimentDetectionJobFilter 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 ListSentimentDetectionJobsRequest.Builder filter(Consumer<SentimentDetectionJobFilter.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 theSentimentDetectionJobFilter.Builderavoiding the need to create one manually viaSentimentDetectionJobFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(SentimentDetectionJobFilter).- Parameters:
filter- a consumer that will call methods onSentimentDetectionJobFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(SentimentDetectionJobFilter)
-
nextToken
ListSentimentDetectionJobsRequest.Builder nextToken(String 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
ListSentimentDetectionJobsRequest.Builder maxResults(Integer 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
ListSentimentDetectionJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSentimentDetectionJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-