Interface GetIntentVersionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>,LexModelBuildingResponse.Builder,SdkBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetIntentVersionsResponse
public static interface GetIntentVersionsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIntentVersionsResponse.Builderintents(Collection<IntentMetadata> intents)An array ofIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.GetIntentVersionsResponse.Builderintents(Consumer<IntentMetadata.Builder>... intents)An array ofIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.GetIntentVersionsResponse.Builderintents(IntentMetadata... intents)An array ofIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.GetIntentVersionsResponse.BuildernextToken(String nextToken)A pagination token for fetching the next page of intent versions.-
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
GetIntentVersionsResponse.Builder intents(Collection<IntentMetadata> intents)
An array of
IntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.- Parameters:
intents- An array ofIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetIntentVersionsResponse.Builder intents(IntentMetadata... intents)
An array of
IntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.- Parameters:
intents- An array ofIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
GetIntentVersionsResponse.Builder intents(Consumer<IntentMetadata.Builder>... intents)
An array of
This is a convenience method that creates an instance of theIntentMetadataobjects, one for each numbered version of the intent plus one for the$LATESTversion.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
GetIntentVersionsResponse.Builder nextToken(String nextToken)
A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
- Parameters:
nextToken- A pagination token for fetching the next page of intent versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-