Interface ListSlotTypesRequest.Builder

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

public static interface ListSlotTypesRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListSlotTypesRequest.Builder,ListSlotTypesRequest>
  • Method Details

    • botId

      The unique identifier of the bot that contains the slot types.

      Parameters:
      botId - The unique 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

      ListSlotTypesRequest.Builder botVersion(String botVersion)

      The version of the bot that contains the slot type.

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

      The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.

      Parameters:
      localeId - The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortBy

      Determines the sort order for the response from the ListSlotTypes operation. You can choose to sort by the slot type name or last updated date in either ascending or descending order.

      Parameters:
      sortBy - Determines the sort order for the response from the ListSlotTypes operation. You can choose to sort by the slot type name or last updated date in either ascending or descending order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortBy

      Determines the sort order for the response from the ListSlotTypes operation. You can choose to sort by the slot type name or last updated date in either ascending or descending order.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sortBy(SlotTypeSortBy).

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

      Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.

      Parameters:
      filters - Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.

      Parameters:
      filters - Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filters

      Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.

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

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

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

      ListSlotTypesRequest.Builder maxResults(Integer maxResults)

      The maximum number of slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.

      Parameters:
      maxResults - The maximum number of slot types to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListSlotTypesRequest.Builder nextToken(String nextToken)

      If the response from the ListSlotTypes operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.

      Parameters:
      nextToken - If the response from the ListSlotTypes operation contains more results than specified in the maxResults parameter, a token is returned in the response. Use that token in the nextToken parameter to return the next page of results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListSlotTypesRequest.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.