Interface GetBuiltinIntentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBuiltinIntentsResponse.Builder,
,GetBuiltinIntentsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetBuiltinIntentsResponse.Builder,
,GetBuiltinIntentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBuiltinIntentsResponse
public static interface GetBuiltinIntentsResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintents
(Collection<BuiltinIntentMetadata> intents) An array ofbuiltinIntentMetadata
objects, one for each intent in the response.intents
(Consumer<BuiltinIntentMetadata.Builder>... intents) An array ofbuiltinIntentMetadata
objects, one for each intent in the response.intents
(BuiltinIntentMetadata... intents) An array ofbuiltinIntentMetadata
objects, one for each intent in the response.A pagination token that fetches the next page of intents.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
intents
An array of
builtinIntentMetadata
objects, one for each intent in the response.- Parameters:
intents
- An array ofbuiltinIntentMetadata
objects, one for each intent in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
An array of
builtinIntentMetadata
objects, one for each intent in the response.- Parameters:
intents
- An array ofbuiltinIntentMetadata
objects, one for each intent in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
An array of
This is a convenience method that creates an instance of thebuiltinIntentMetadata
objects, one for each intent in the response.BuiltinIntentMetadata.Builder
avoiding the need to create one manually viaBuiltinIntentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointents(List<BuiltinIntentMetadata>)
.- Parameters:
intents
- a consumer that will call methods onBuiltinIntentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.
- Parameters:
nextToken
- A pagination token that fetches the next page of intents. If the response to this API call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of intents, specify the pagination token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-