Interface ListBuiltInSlotTypesRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListBuiltInSlotTypesRequest.Builder,ListBuiltInSlotTypesRequest>,LexModelsV2Request.Builder,SdkBuilder<ListBuiltInSlotTypesRequest.Builder,ListBuiltInSlotTypesRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListBuiltInSlotTypesRequest
public static interface ListBuiltInSlotTypesRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<ListBuiltInSlotTypesRequest.Builder,ListBuiltInSlotTypesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ListBuiltInSlotTypesRequest.BuilderlocaleId(String localeId)The identifier of the language and locale of the slot types to list.ListBuiltInSlotTypesRequest.BuildermaxResults(Integer maxResults)The maximum number of built-in slot types to return in each page of results.ListBuiltInSlotTypesRequest.BuildernextToken(String nextToken)If the response from theListBuiltInSlotTypesoperation contains more results than specified in themaxResultsparameter, a token is returned in the response.ListBuiltInSlotTypesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListBuiltInSlotTypesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default ListBuiltInSlotTypesRequest.BuildersortBy(Consumer<BuiltInSlotTypeSortBy.Builder> sortBy)Determines the sort order for the response from theListBuiltInSlotTypesoperation.ListBuiltInSlotTypesRequest.BuildersortBy(BuiltInSlotTypeSortBy sortBy)Determines the sort order for the response from theListBuiltInSlotTypesoperation.-
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
-
localeId
ListBuiltInSlotTypesRequest.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
ListBuiltInSlotTypesRequest.Builder sortBy(BuiltInSlotTypeSortBy sortBy)
Determines the sort order for the response from the
ListBuiltInSlotTypesoperation. You can choose to sort by the slot type signature in either ascending or descending order.- Parameters:
sortBy- Determines the sort order for the response from theListBuiltInSlotTypesoperation. You can choose to sort by the slot type signature in either ascending or descending order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sortBy
default ListBuiltInSlotTypesRequest.Builder sortBy(Consumer<BuiltInSlotTypeSortBy.Builder> sortBy)
Determines the sort order for the response from the
This is a convenience method that creates an instance of theListBuiltInSlotTypesoperation. You can choose to sort by the slot type signature in either ascending or descending order.BuiltInSlotTypeSortBy.Builderavoiding the need to create one manually viaBuiltInSlotTypeSortBy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosortBy(BuiltInSlotTypeSortBy).- Parameters:
sortBy- a consumer that will call methods onBuiltInSlotTypeSortBy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sortBy(BuiltInSlotTypeSortBy)
-
maxResults
ListBuiltInSlotTypesRequest.Builder maxResults(Integer maxResults)
The maximum number of built-in 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 built-in 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
ListBuiltInSlotTypesRequest.Builder nextToken(String nextToken)
If the response from the
ListBuiltInSlotTypesoperation 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 theListBuiltInSlotTypesoperation 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
ListBuiltInSlotTypesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListBuiltInSlotTypesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-