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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListSlotTypesRequest.BuilderbotId(String botId)The unique identifier of the bot that contains the slot types.ListSlotTypesRequest.BuilderbotVersion(String botVersion)The version of the bot that contains the slot type.ListSlotTypesRequest.Builderfilters(Collection<SlotTypeFilter> filters)Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification.ListSlotTypesRequest.Builderfilters(Consumer<SlotTypeFilter.Builder>... filters)Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification.ListSlotTypesRequest.Builderfilters(SlotTypeFilter... filters)Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification.ListSlotTypesRequest.BuilderlocaleId(String localeId)The identifier of the language and locale of the slot types to list.ListSlotTypesRequest.BuildermaxResults(Integer maxResults)The maximum number of slot types to return in each page of results.ListSlotTypesRequest.BuildernextToken(String nextToken)If the response from theListSlotTypesoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListSlotTypesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListSlotTypesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListSlotTypesRequest.BuildersortBy(Consumer<SlotTypeSortBy.Builder> sortBy)Determines the sort order for the response from theListSlotTypesoperation.ListSlotTypesRequest.BuildersortBy(SlotTypeSortBy sortBy)Determines the sort order for the response from theListSlotTypesoperation.-
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
ListSlotTypesRequest.Builder botId(String 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
ListSlotTypesRequest.Builder localeId(String 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
ListSlotTypesRequest.Builder sortBy(SlotTypeSortBy sortBy)
Determines the sort order for the response from the
ListSlotTypesoperation. 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 theListSlotTypesoperation. 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
default ListSlotTypesRequest.Builder sortBy(Consumer<SlotTypeSortBy.Builder> sortBy)
Determines the sort order for the response from the
This is a convenience method that creates an instance of theListSlotTypesoperation. You can choose to sort by the slot type name or last updated date in either ascending or descending order.SlotTypeSortBy.Builderavoiding the need to create one manually viaSlotTypeSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(SlotTypeSortBy).- Parameters:
sortBy- a consumer that will call methods onSlotTypeSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(SlotTypeSortBy)
-
filters
ListSlotTypesRequest.Builder filters(Collection<SlotTypeFilter> 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
ListSlotTypesRequest.Builder filters(SlotTypeFilter... 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
ListSlotTypesRequest.Builder filters(Consumer<SlotTypeFilter.Builder>... 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 theSlotTypeFilter.Builderavoiding the need to create one manually viaSlotTypeFilter.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 onSlotTypeFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#filters(java.util.Collection)
-
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
ListSlotTypesoperation 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 theListSlotTypesoperation 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
ListSlotTypesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListSlotTypesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-