Interface ListDataSourceSyncJobsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDataSourceSyncJobsResponse.Builder,
,ListDataSourceSyncJobsResponse> QBusinessResponse.Builder
,SdkBuilder<ListDataSourceSyncJobsResponse.Builder,
,ListDataSourceSyncJobsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDataSourceSyncJobsResponse
@Mutable
@NotThreadSafe
public static interface ListDataSourceSyncJobsResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourceSyncJobsResponse.Builder,ListDataSourceSyncJobsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionhistory
(Collection<DataSourceSyncJob> history) A history of synchronization jobs for the data source connector.history
(Consumer<DataSourceSyncJob.Builder>... history) A history of synchronization jobs for the data source connector.history
(DataSourceSyncJob... history) A history of synchronization jobs for the data source connector.If the response is truncated, Amazon Q Business returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
A history of synchronization jobs for the data source connector.
This is a convenience method that creates an instance of theDataSourceSyncJob.Builder
avoiding the need to create one manually viaDataSourceSyncJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tohistory(List<DataSourceSyncJob>)
.- 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:
-
nextToken
If the response is truncated, Amazon Q Business returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.
- Parameters:
nextToken
- If the response is truncated, Amazon Q Business returns this token. You can use this token in any subsequent request to retrieve the next set of jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-