public static interface GetIntentsResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
Modifier and Type | Method and Description |
---|---|
GetIntentsResponse.Builder |
intents(Collection<IntentMetadata> intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
intents(Consumer<IntentMetadata.Builder>... intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
intents(IntentMetadata... intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
nextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next
request to fetch the next page of intents.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetIntentsResponse.Builder intents(Collection<IntentMetadata> intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.GetIntentsResponse.Builder intents(IntentMetadata... intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.GetIntentsResponse.Builder intents(Consumer<IntentMetadata.Builder>... intents)
An array of Intent
objects. For more information, see PutBot.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #intents(List)
.intents
- a consumer that will call methods on List.Builder
#intents(List)
GetIntentsResponse.Builder nextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents.
nextToken
- If the response is truncated, the response includes a pagination token that you can specify in your
next request to fetch the next page of intents.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.