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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GenerateBotElementResponse.BuilderbotId(String botId)The unique bot Id for the bot which received the response.GenerateBotElementResponse.BuilderbotVersion(String botVersion)The unique bot version for the bot which received the response.GenerateBotElementResponse.BuilderintentId(String intentId)The unique intent Id for the bot which received the response.GenerateBotElementResponse.BuilderlocaleId(String localeId)The unique locale Id for the bot which received the response.GenerateBotElementResponse.BuildersampleUtterances(Collection<SampleUtterance> sampleUtterances)The sample utterances for the bot which received the response.GenerateBotElementResponse.BuildersampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)The sample utterances for the bot which received the response.GenerateBotElementResponse.BuildersampleUtterances(SampleUtterance... sampleUtterances)The sample utterances for the bot which received the response.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.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
-
botId
GenerateBotElementResponse.Builder botId(String 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
GenerateBotElementResponse.Builder botVersion(String 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
GenerateBotElementResponse.Builder localeId(String 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
GenerateBotElementResponse.Builder intentId(String 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
GenerateBotElementResponse.Builder sampleUtterances(Collection<SampleUtterance> 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(SampleUtterance... 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 to#sampleUtterances(List.) - 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:
#sampleUtterances(java.util.Collection)
-
-