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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIntentsResponse.Builderintents(Collection<IntentMetadata> intents)An array ofIntentobjects.GetIntentsResponse.Builderintents(Consumer<IntentMetadata.Builder>... intents)An array ofIntentobjects.GetIntentsResponse.Builderintents(IntentMetadata... intents)An array ofIntentobjects.GetIntentsResponse.BuildernextToken(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.-
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
GetIntentsResponse.Builder intents(Collection<IntentMetadata> intents)
An array of
Intentobjects. For more information, see PutBot.- Parameters:
intents- An array ofIntentobjects. For more information, see PutBot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetIntentsResponse.Builder intents(IntentMetadata... intents)
An array of
Intentobjects. For more information, see PutBot.- Parameters:
intents- An array ofIntentobjects. For more information, see PutBot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetIntentsResponse.Builder intents(Consumer<IntentMetadata.Builder>... 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 to#intents(List.) - 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:
#intents(java.util.Collection)
-
nextToken
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.
- 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.
-
-