Interface ListDataSourcesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BedrockAgentResponse.Builder, Buildable, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>, SdkBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListDataSourcesResponse

public static interface ListDataSourcesResponse.Builder extends BedrockAgentResponse.Builder, SdkPojo, CopyableBuilder<ListDataSourcesResponse.Builder,ListDataSourcesResponse>
  • Method Details

    • dataSourceSummaries

      ListDataSourcesResponse.Builder dataSourceSummaries(Collection<DataSourceSummary> dataSourceSummaries)

      A list of objects, each of which contains information about a data source.

      Parameters:
      dataSourceSummaries - A list of objects, each of which contains information about a data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceSummaries

      ListDataSourcesResponse.Builder dataSourceSummaries(DataSourceSummary... dataSourceSummaries)

      A list of objects, each of which contains information about a data source.

      Parameters:
      dataSourceSummaries - A list of objects, each of which contains information about a data source.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataSourceSummaries

      ListDataSourcesResponse.Builder dataSourceSummaries(Consumer<DataSourceSummary.Builder>... dataSourceSummaries)

      A list of objects, each of which contains information about a data source.

      This is a convenience method that creates an instance of the DataSourceSummary.Builder avoiding the need to create one manually via DataSourceSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataSourceSummaries(List<DataSourceSummary>).

      Parameters:
      dataSourceSummaries - a consumer that will call methods on DataSourceSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.

      Parameters:
      nextToken - If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.