Interface ListSlotsResponse.Builder

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

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

    • botId

      The identifier of the bot that contains the slots.

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

      ListSlotsResponse.Builder botVersion(String botVersion)

      The version of the bot that contains the slots.

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

      ListSlotsResponse.Builder localeId(String localeId)

      The language and locale of the slots in the list.

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

      ListSlotsResponse.Builder intentId(String intentId)

      The identifier of the intent that contains the slots.

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

      ListSlotsResponse.Builder slotSummaries(Collection<SlotSummary> slotSummaries)

      Summary information for the slots 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 slots available, the nextToken field contains a token to get the next page of results.

      Parameters:
      slotSummaries - Summary information for the slots 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 slots 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.
    • slotSummaries

      ListSlotsResponse.Builder slotSummaries(SlotSummary... slotSummaries)

      Summary information for the slots 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 slots available, the nextToken field contains a token to get the next page of results.

      Parameters:
      slotSummaries - Summary information for the slots 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 slots 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.
    • slotSummaries

      ListSlotsResponse.Builder slotSummaries(Consumer<SlotSummary.Builder>... slotSummaries)

      Summary information for the slots 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 slots 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 SlotSummary.Builder avoiding the need to create one manually via SlotSummary.builder().

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

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

      ListSlotsResponse.Builder nextToken(String nextToken)

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