Interface GetIntentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetIntentsResponse.Builder,
,GetIntentsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetIntentsResponse.Builder,
,GetIntentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetIntentsResponse
public static interface GetIntentsResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintents
(Collection<IntentMetadata> intents) An array ofIntent
objects.intents
(Consumer<IntentMetadata.Builder>... intents) An array ofIntent
objects.intents
(IntentMetadata... intents) An array ofIntent
objects.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.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
Intent
objects. For more information, see PutBot.- Parameters:
intents
- An array ofIntent
objects. For more information, see PutBot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
An array of
Intent
objects. For more information, see PutBot.- Parameters:
intents
- An array ofIntent
objects. For more information, see PutBot.- 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 theIntent
objects. For more information, see PutBot.IntentMetadata.Builder
avoiding the need to create one manually viaIntentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointents(List<IntentMetadata>)
.- Parameters:
intents
- a consumer that will call methods onIntentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-