Interface GenerateBotElementResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GenerateBotElementResponse.Builder,,GenerateBotElementResponse> LexModelsV2Response.Builder,SdkBuilder<GenerateBotElementResponse.Builder,,GenerateBotElementResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GenerateBotElementResponse
public static interface GenerateBotElementResponse.Builder
extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<GenerateBotElementResponse.Builder,GenerateBotElementResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique bot Id for the bot which received the response.botVersion(String botVersion) The unique bot version for the bot which received the response.The unique intent Id for the bot which received the response.The unique locale Id for the bot which received the response.sampleUtterances(Collection<SampleUtterance> sampleUtterances) The sample utterances for the bot which received the response.sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) The sample utterances for the bot which received the response.sampleUtterances(SampleUtterance... sampleUtterances) The sample utterances for the bot which received the response.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.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
-
botId
The unique bot Id for the bot which received the response.
- Parameters:
botId- The unique bot Id for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The unique bot version for the bot which received the response.
- Parameters:
botVersion- The unique bot version for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The unique locale Id for the bot which received the response.
- Parameters:
localeId- The unique locale Id for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentId
The unique intent Id for the bot which received the response.
- Parameters:
intentId- The unique intent Id for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The sample utterances for the bot which received the response.
- Parameters:
sampleUtterances- The sample utterances for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The sample utterances for the bot which received the response.
- Parameters:
sampleUtterances- The sample utterances for the bot which received the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
GenerateBotElementResponse.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) The sample utterances for the bot which received the response.
This is a convenience method that creates an instance of theSampleUtterance.Builderavoiding the need to create one manually viaSampleUtterance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosampleUtterances(List<SampleUtterance>).- Parameters:
sampleUtterances- a consumer that will call methods onSampleUtterance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-