Interface ListSlotsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListSlotsRequest.Builder,ListSlotsRequest>,LexModelsV2Request.Builder,SdkBuilder<ListSlotsRequest.Builder,ListSlotsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListSlotsRequest
public static interface ListSlotsRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListSlotsRequest.Builder,ListSlotsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListSlotsRequest.BuilderbotId(String botId)The identifier of the bot that contains the slot.ListSlotsRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the slot.ListSlotsRequest.Builderfilters(Collection<SlotFilter> filters)Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification.ListSlotsRequest.Builderfilters(Consumer<SlotFilter.Builder>... filters)Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification.ListSlotsRequest.Builderfilters(SlotFilter... filters)Provides the specification of a filter used to limit the slots in the response to only those that match the filter specification.ListSlotsRequest.BuilderintentId(String intentId)The unique identifier of the intent that contains the slot.ListSlotsRequest.BuilderlocaleId(String localeId)The identifier of the language and locale of the slots to list.ListSlotsRequest.BuildermaxResults(Integer maxResults)The maximum number of slots to return in each page of results.ListSlotsRequest.BuildernextToken(String nextToken)If the response from theListSlotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListSlotsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSlotsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListSlotsRequest.BuildersortBy(Consumer<SlotSortBy.Builder> sortBy)Determines the sort order for the response from theListSlotsoperation.ListSlotsRequest.BuildersortBy(SlotSortBy sortBy)Determines the sort order for the response from theListSlotsoperation.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
botId
ListSlotsRequest.Builder botId(String botId)
The identifier of the bot that contains the slot.
- Parameters:
botId- The identifier of the bot that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
ListSlotsRequest.Builder botVersion(String botVersion)
The version of the bot that contains the slot.
- Parameters:
botVersion- The version of the bot that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
ListSlotsRequest.Builder localeId(String localeId)
The identifier of the language and locale of the slots 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 slots 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.
-
intentId
ListSlotsRequest.Builder intentId(String intentId)
The unique identifier of the intent that contains the slot.
- Parameters:
intentId- The unique identifier of the intent that contains the slot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
ListSlotsRequest.Builder sortBy(SlotSortBy sortBy)
Determines the sort order for the response from the
ListSlotsoperation. You can choose to sort by the slot name or last updated date in either ascending or descending order.- Parameters:
sortBy- Determines the sort order for the response from theListSlotsoperation. You can choose to sort by the slot 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
default ListSlotsRequest.Builder sortBy(Consumer<SlotSortBy.Builder> sortBy)
Determines the sort order for the response from the
This is a convenience method that creates an instance of theListSlotsoperation. You can choose to sort by the slot name or last updated date in either ascending or descending order.SlotSortBy.Builderavoiding the need to create one manually viaSlotSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(SlotSortBy).- Parameters:
sortBy- a consumer that will call methods onSlotSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(SlotSortBy)
-
filters
ListSlotsRequest.Builder filters(Collection<SlotFilter> filters)
Provides the specification of a filter used to limit the slots 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 slots 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
ListSlotsRequest.Builder filters(SlotFilter... filters)
Provides the specification of a filter used to limit the slots 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 slots 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
ListSlotsRequest.Builder filters(Consumer<SlotFilter.Builder>... filters)
Provides the specification of a filter used to limit the slots 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 theSlotFilter.Builderavoiding the need to create one manually viaSlotFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#filters(List.) - Parameters:
filters- a consumer that will call methods onSlotFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
maxResults
ListSlotsRequest.Builder maxResults(Integer maxResults)
The maximum number of slots 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 slots 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
ListSlotsRequest.Builder nextToken(String nextToken)
If the response from the
ListSlotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Parameters:
nextToken- If the response from theListSlotsoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter to return the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListSlotsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSlotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-