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 ofIntentobjects.intents(Consumer<IntentMetadata.Builder>... intents) An array ofIntentobjects.intents(IntentMetadata... intents) An array ofIntentobjects.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
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
-
intents
-
intents
An array of
This is a convenience method that creates an instance of theIntentobjects. For more information, see PutBot.IntentMetadata.Builderavoiding the need to create one manually viaIntentMetadata.builder().When the
Consumercompletes,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.
-