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 ofbuiltinIntentMetadataobjects, one for each intent in the response.intents(Consumer<BuiltinIntentMetadata.Builder>... intents) An array ofbuiltinIntentMetadataobjects, one for each intent in the response.intents(BuiltinIntentMetadata... intents) An array ofbuiltinIntentMetadataobjects, 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
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
intents
An array of
builtinIntentMetadataobjects, one for each intent in the response.- Parameters:
intents- An array ofbuiltinIntentMetadataobjects, 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
builtinIntentMetadataobjects, one for each intent in the response.- Parameters:
intents- An array ofbuiltinIntentMetadataobjects, 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 thebuiltinIntentMetadataobjects, one for each intent in the response.BuiltinIntentMetadata.Builderavoiding the need to create one manually viaBuiltinIntentMetadata.builder().When the
Consumercompletes,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.
-