Interface ListBuiltInIntentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListBuiltInIntentsResponse.Builder,
,ListBuiltInIntentsResponse> LexModelsV2Response.Builder
,SdkBuilder<ListBuiltInIntentsResponse.Builder,
,ListBuiltInIntentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListBuiltInIntentsResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuiltInIntentSummaries
(Collection<BuiltInIntentSummary> builtInIntentSummaries) Summary information for the built-in intents that meet the filter criteria specified in the request.builtInIntentSummaries
(Consumer<BuiltInIntentSummary.Builder>... builtInIntentSummaries) Summary information for the built-in intents that meet the filter criteria specified in the request.builtInIntentSummaries
(BuiltInIntentSummary... builtInIntentSummaries) Summary information for the built-in intents that meet the filter criteria specified in the request.The language and locale of the intents in the list.A token that indicates whether there are more results to return in a response to theListBuiltInIntents
operation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(Collection<BuiltInIntentSummary> builtInIntentSummaries) Summary information for the built-in intents 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 intents available, thenextToken
field contains a token to get the next page of results.- Parameters:
builtInIntentSummaries
- Summary information for the built-in intents that meet the filter criteria specified in the request. The length of the list is specified in themaxResults
parameter of the request. If there are more intents available, thenextToken
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.
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(BuiltInIntentSummary... builtInIntentSummaries) Summary information for the built-in intents 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 intents available, thenextToken
field contains a token to get the next page of results.- Parameters:
builtInIntentSummaries
- Summary information for the built-in intents that meet the filter criteria specified in the request. The length of the list is specified in themaxResults
parameter of the request. If there are more intents available, thenextToken
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.
-
builtInIntentSummaries
ListBuiltInIntentsResponse.Builder builtInIntentSummaries(Consumer<BuiltInIntentSummary.Builder>... builtInIntentSummaries) Summary information for the built-in intents that meet the filter criteria specified in the request. The length of the list is specified in the
This is a convenience method that creates an instance of themaxResults
parameter of the request. If there are more intents available, thenextToken
field contains a token to get the next page of results.BuiltInIntentSummary.Builder
avoiding the need to create one manually viaBuiltInIntentSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobuiltInIntentSummaries(List<BuiltInIntentSummary>)
.- Parameters:
builtInIntentSummaries
- a consumer that will call methods onBuiltInIntentSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that indicates whether there are more results to return in a response to the
ListBuiltInIntents
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListBotAliases
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 theListBuiltInIntents
operation. If thenextToken
field is present, you send the contents as thenextToken
parameter of aListBotAliases
operation request to get the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The language and locale of the intents in the list.
- Parameters:
localeId
- The language and locale of the intents in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-