CopyableBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>
, SdkBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>
public static interface GetBuiltinIntentsResponse.Builder extends CopyableBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>
Modifier and Type | Method | Description |
---|---|---|
GetBuiltinIntentsResponse.Builder |
intents(Collection<BuiltinIntentMetadata> intents) |
An array of
builtinIntentMetadata objects, one for each intent in the response. |
GetBuiltinIntentsResponse.Builder |
intents(BuiltinIntentMetadata... intents) |
An array of
builtinIntentMetadata objects, one for each intent in the response. |
GetBuiltinIntentsResponse.Builder |
nextToken(String nextToken) |
A pagination token that fetches the next page of intents.
|
copy
apply, build
GetBuiltinIntentsResponse.Builder intents(Collection<BuiltinIntentMetadata> intents)
An array of builtinIntentMetadata
objects, one for each intent in the response.
intents
- An array of builtinIntentMetadata
objects, one for each intent in the response.GetBuiltinIntentsResponse.Builder intents(BuiltinIntentMetadata... intents)
An array of builtinIntentMetadata
objects, one for each intent in the response.
NOTE: This method appends the values to the existing list (if any). Use
#setIntents(java.util.Collection)
or #withIntents(java.util.Collection)
if you want to
override the existing values.
intents
- An array of builtinIntentMetadata
objects, one for each intent in the response.GetBuiltinIntentsResponse.Builder nextToken(String 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.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.