Interface ListDataSourcesResponse.Builder

  • Method Details

    • 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

      An array of summary information for one or more data source connector.

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

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

      Parameters:
      dataSources - a consumer that will call methods on DataSource.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 a subsequent request to retrieve the next set of data source connectors.

      Parameters:
      nextToken - If the response is truncated, Amazon Q Business 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.