Interface ListIntentsResponse.Builder

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

public static interface ListIntentsResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<ListIntentsResponse.Builder,ListIntentsResponse>
  • Method Details

    • botId

      The identifier of the bot that contains the intent.

      Parameters:
      botId - The identifier of the bot that contains the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • botVersion

      ListIntentsResponse.Builder botVersion(String botVersion)

      The version of the bot that contains the intent.

      Parameters:
      botVersion - The version of the bot that contains the intent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • localeId

      ListIntentsResponse.Builder localeId(String localeId)

      The language and locale of the intents in the list.

      Parameters:
      localeId - The language and locale of the intents in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • intentSummaries

      ListIntentsResponse.Builder intentSummaries(Collection<IntentSummary> intentSummaries)

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

      Parameters:
      intentSummaries - Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more intents 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.
    • intentSummaries

      ListIntentsResponse.Builder intentSummaries(IntentSummary... intentSummaries)

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

      Parameters:
      intentSummaries - Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more intents 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.
    • intentSummaries

      ListIntentsResponse.Builder intentSummaries(Consumer<IntentSummary.Builder>... intentSummaries)

      Summary information for the intents that meet the filter criteria specified in the request. The length of the list is specified in the maxResults parameter of the request. If there are more intents 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 IntentSummary.Builder avoiding the need to create one manually via IntentSummary.builder().

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

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

      ListIntentsResponse.Builder nextToken(String nextToken)

      A token that indicates whether there are more results to return in a response to the ListIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListIntents 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 ListIntents operation. If the nextToken field is present, you send the contents as the nextToken parameter of a ListIntents operation request to get the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.