Interface ListDataSourceSyncJobsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListDataSourceSyncJobsRequest.Builder,ListDataSourceSyncJobsRequest>,KendraRequest.Builder,SdkBuilder<ListDataSourceSyncJobsRequest.Builder,ListDataSourceSyncJobsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListDataSourceSyncJobsRequest
public static interface ListDataSourceSyncJobsRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<ListDataSourceSyncJobsRequest.Builder,ListDataSourceSyncJobsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListDataSourceSyncJobsRequest.Builderid(String id)The identifier of the data source connector.ListDataSourceSyncJobsRequest.BuilderindexId(String indexId)The identifier of the index used with the data source connector.ListDataSourceSyncJobsRequest.BuildermaxResults(Integer maxResults)The maximum number of synchronization jobs to return in the response.ListDataSourceSyncJobsRequest.BuildernextToken(String nextToken)If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response.ListDataSourceSyncJobsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListDataSourceSyncJobsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListDataSourceSyncJobsRequest.BuilderstartTimeFilter(Consumer<TimeRange.Builder> startTimeFilter)When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.ListDataSourceSyncJobsRequest.BuilderstartTimeFilter(TimeRange startTimeFilter)When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.ListDataSourceSyncJobsRequest.BuilderstatusFilter(String statusFilter)Only returns synchronization jobs with theStatusfield equal to the specified status.ListDataSourceSyncJobsRequest.BuilderstatusFilter(DataSourceSyncJobStatus statusFilter)Only returns synchronization jobs with theStatusfield equal to the specified status.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraRequest.Builder
build
-
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
-
id
ListDataSourceSyncJobsRequest.Builder id(String id)
The identifier of the data source connector.
- Parameters:
id- The identifier of the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexId
ListDataSourceSyncJobsRequest.Builder indexId(String indexId)
The identifier of the index used with the data source connector.
- Parameters:
indexId- The identifier of the index used with the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
ListDataSourceSyncJobsRequest.Builder nextToken(String nextToken)
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.
- Parameters:
nextToken- If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListDataSourceSyncJobsRequest.Builder maxResults(Integer maxResults)
The maximum number of synchronization jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.
- Parameters:
maxResults- The maximum number of synchronization jobs to return in the response. If there are fewer results in the list, this response contains only the actual results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
ListDataSourceSyncJobsRequest.Builder startTimeFilter(TimeRange startTimeFilter)
When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.
- Parameters:
startTimeFilter- When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
default ListDataSourceSyncJobsRequest.Builder startTimeFilter(Consumer<TimeRange.Builder> startTimeFilter)
When specified, the synchronization jobs returned in the list are limited to jobs between the specified dates.
This is a convenience method that creates an instance of theTimeRange.Builderavoiding the need to create one manually viaTimeRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostartTimeFilter(TimeRange).- Parameters:
startTimeFilter- a consumer that will call methods onTimeRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
startTimeFilter(TimeRange)
-
statusFilter
ListDataSourceSyncJobsRequest.Builder statusFilter(String statusFilter)
Only returns synchronization jobs with the
Statusfield equal to the specified status.- Parameters:
statusFilter- Only returns synchronization jobs with theStatusfield equal to the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceSyncJobStatus,DataSourceSyncJobStatus
-
statusFilter
ListDataSourceSyncJobsRequest.Builder statusFilter(DataSourceSyncJobStatus statusFilter)
Only returns synchronization jobs with the
Statusfield equal to the specified status.- Parameters:
statusFilter- Only returns synchronization jobs with theStatusfield equal to the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceSyncJobStatus,DataSourceSyncJobStatus
-
overrideConfiguration
ListDataSourceSyncJobsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListDataSourceSyncJobsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-