Interface ListDataSourcesRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<ListDataSourcesRequest.Builder,ListDataSourcesRequest>, KendraRequest.Builder, SdkBuilder<ListDataSourcesRequest.Builder,ListDataSourcesRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
ListDataSourcesRequest

public static interface ListDataSourcesRequest.Builder extends KendraRequest.Builder, SdkPojo, CopyableBuilder<ListDataSourcesRequest.Builder,ListDataSourcesRequest>
  • Method Details

    • indexId

      The identifier of the index used with one or more data source connectors.

      Parameters:
      indexId - The identifier of the index used with one or more data source connectors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListDataSourcesRequest.Builder nextToken(String nextToken)

      If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of data source connectors.

      Parameters:
      nextToken - If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of data source connectors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • maxResults

      ListDataSourcesRequest.Builder maxResults(Integer maxResults)

      The maximum number of data source connectors to return.

      Parameters:
      maxResults - The maximum number of data source connectors to return.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListDataSourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.