Interface GetBuiltinIntentsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBuiltinIntentsResponse
public static interface GetBuiltinIntentsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetBuiltinIntentsResponse.Builder,GetBuiltinIntentsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetBuiltinIntentsResponse.Builderintents(Collection<BuiltinIntentMetadata> intents)An array ofbuiltinIntentMetadataobjects, one for each intent in the response.GetBuiltinIntentsResponse.Builderintents(Consumer<BuiltinIntentMetadata.Builder>... intents)An array ofbuiltinIntentMetadataobjects, one for each intent in the response.GetBuiltinIntentsResponse.Builderintents(BuiltinIntentMetadata... intents)An array ofbuiltinIntentMetadataobjects, one for each intent in the response.GetBuiltinIntentsResponse.BuildernextToken(String nextToken)A pagination token that fetches 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 Detail
-
intents
GetBuiltinIntentsResponse.Builder intents(Collection<BuiltinIntentMetadata> intents)
An array of
builtinIntentMetadataobjects, one for each intent in the response.- Parameters:
intents- An array ofbuiltinIntentMetadataobjects, one for each intent in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetBuiltinIntentsResponse.Builder intents(BuiltinIntentMetadata... intents)
An array of
builtinIntentMetadataobjects, one for each intent in the response.- Parameters:
intents- An array ofbuiltinIntentMetadataobjects, one for each intent in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetBuiltinIntentsResponse.Builder intents(Consumer<BuiltinIntentMetadata.Builder>... intents)
An array of
This is a convenience method that creates an instance of thebuiltinIntentMetadataobjects, one for each intent in the response.BuiltinIntentMetadata.Builderavoiding the need to create one manually viaBuiltinIntentMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#intents(List.) - Parameters:
intents- a consumer that will call methods onBuiltinIntentMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#intents(java.util.Collection)
-
nextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-