Interface ListDataSourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,QBusinessResponse.Builder,SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListDataSourcesResponse
public static interface ListDataSourcesResponse.Builder extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDataSourcesResponse.BuilderdataSources(Collection<DataSource> dataSources)An array of summary information for one or more data source connector.ListDataSourcesResponse.BuilderdataSources(Consumer<DataSource.Builder>... dataSources)An array of summary information for one or more data source connector.ListDataSourcesResponse.BuilderdataSources(DataSource... dataSources)An array of summary information for one or more data source connector.ListDataSourcesResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Q 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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dataSources
ListDataSourcesResponse.Builder dataSources(Collection<DataSource> dataSources)
An array of summary information for one or more data source connector.
- Parameters:
dataSources- An array of summary information for one or more data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(DataSource... dataSources)
An array of summary information for one or more data source connector.
- Parameters:
dataSources- An array of summary information for one or more data source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSources
ListDataSourcesResponse.Builder dataSources(Consumer<DataSource.Builder>... dataSources)
An array of summary information for one or more data source connector.
This is a convenience method that creates an instance of theDataSource.Builderavoiding the need to create one manually viaDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataSources(List.) - Parameters:
dataSources- a consumer that will call methods onDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dataSources(java.util.Collection)
-
nextToken
ListDataSourcesResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.
- Parameters:
nextToken- If the response is truncated, Amazon Q returns this token. You can use this token in a subsequent request to retrieve the next set of data source connectors.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-