Interface ListSlotTypesResponse.Builder

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

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

    • botId

      The identifier of the bot that contains the slot types.

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

      ListSlotTypesResponse.Builder botVersion(String botVersion)

      The version of the bot that contains the slot types.

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

      The language and local of the slot types in the list.

      Parameters:
      localeId - The language and local of the slot types in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • slotTypeSummaries

      ListSlotTypesResponse.Builder slotTypeSummaries(Collection<SlotTypeSummary> slotTypeSummaries)

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

      Parameters:
      slotTypeSummaries - Summary information for the slot types 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 slot types 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.
    • slotTypeSummaries

      ListSlotTypesResponse.Builder slotTypeSummaries(SlotTypeSummary... slotTypeSummaries)

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

      Parameters:
      slotTypeSummaries - Summary information for the slot types 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 slot types 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.
    • slotTypeSummaries

      ListSlotTypesResponse.Builder slotTypeSummaries(Consumer<SlotTypeSummary.Builder>... slotTypeSummaries)

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

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

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

      ListSlotTypesResponse.Builder nextToken(String nextToken)

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