Interface ListImportsResponse.Builder

  • Method Details

    • botId

      The unique identifier assigned by Amazon Lex to the bot.

      Parameters:
      botId - The unique identifier assigned by Amazon Lex to the bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      ListImportsResponse.Builder botVersion(String botVersion)

      The version of the bot that was imported. It will always be DRAFT.

      Parameters:
      botVersion - The version of the bot that was imported. It will always be DRAFT.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importSummaries

      ListImportsResponse.Builder importSummaries(Collection<ImportSummary> importSummaries)

      Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter. If there are more imports available, the nextToken field contains a token to get the next page of results.

      Parameters:
      importSummaries - Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter. If there are more imports available, the nextToken field contains a token to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importSummaries

      ListImportsResponse.Builder importSummaries(ImportSummary... importSummaries)

      Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter. If there are more imports available, the nextToken field contains a token to get the next page of results.

      Parameters:
      importSummaries - Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter. If there are more imports available, the nextToken field contains a token to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • importSummaries

      ListImportsResponse.Builder importSummaries(Consumer<ImportSummary.Builder>... importSummaries)

      Summary information for the imports that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter. If there are more imports available, the nextToken field contains a token to get the next page of results.

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

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

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

      ListImportsResponse.Builder nextToken(String nextToken)

      A token that indicates whether there are more results to return in a response to the ListImports operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListImports operation request to get the next page of results.

      Parameters:
      nextToken - A token that indicates whether there are more results to return in a response to the ListImports operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListImports operation request to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localeId

      ListImportsResponse.Builder localeId(String localeId)

      The locale specified in the request.

      Parameters:
      localeId - The locale specified in the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.