CopyableBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
, SdkBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
public static interface GetIntentsResponse.Builder extends CopyableBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
Modifier and Type | Method | Description |
---|---|---|
GetIntentsResponse.Builder |
intents(Collection<IntentMetadata> 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.
|
copy
apply, build
GetIntentsResponse.Builder intents(Collection<IntentMetadata> intents)
An array of Intent
objects. For more information, see .
intents
- An array of Intent
objects. For more information, see .GetIntentsResponse.Builder intents(IntentMetadata... intents)
An array of Intent
objects. For more information, see .
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 Intent
objects. For more information, see .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.