Interface ListDataSourceSyncJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourceSyncJobsResponse.Builder,ListDataSourceSyncJobsResponse>,KendraResponse.Builder,SdkBuilder<ListDataSourceSyncJobsResponse.Builder,ListDataSourceSyncJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSourceSyncJobsResponse
public static interface ListDataSourceSyncJobsResponse.Builder extends KendraResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourceSyncJobsResponse.Builder,ListDataSourceSyncJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourceSyncJobsResponse.Builderhistory(Collection<DataSourceSyncJob> history)A history of synchronization jobs for the data source connector.ListDataSourceSyncJobsResponse.Builderhistory(Consumer<DataSourceSyncJob.Builder>... history)A history of synchronization jobs for the data source connector.ListDataSourceSyncJobsResponse.Builderhistory(DataSourceSyncJob... history)A history of synchronization jobs for the data source connector.ListDataSourceSyncJobsResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendra.model.KendraResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
history
ListDataSourceSyncJobsResponse.Builder history(Collection<DataSourceSyncJob> history)
A history of synchronization jobs for the data source connector.
- Parameters:
history- A history of synchronization jobs for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
history
ListDataSourceSyncJobsResponse.Builder history(DataSourceSyncJob... history)
A history of synchronization jobs for the data source connector.
- Parameters:
history- A history of synchronization jobs for the data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
history
ListDataSourceSyncJobsResponse.Builder history(Consumer<DataSourceSyncJob.Builder>... history)
A history of synchronization jobs for the data source connector.
This is a convenience method that creates an instance of theDataSourceSyncJob.Builderavoiding the need to create one manually viaDataSourceSyncJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#history(List.) - Parameters:
history- a consumer that will call methods onDataSourceSyncJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#history(java.util.Collection)
-
nextToken
ListDataSourceSyncJobsResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.
- Parameters:
nextToken- If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-