Interface CreateIntentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateIntentResponse.Builder,,CreateIntentResponse> LexModelsV2Response.Builder,SdkBuilder<CreateIntentResponse.Builder,,CreateIntentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateIntentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the intent.botVersion(String botVersion) The version of the bot associated with the intent.creationDateTime(Instant creationDateTime) A timestamp of the date and time that the intent was created.description(String description) The description specified for the intent.default CreateIntentResponse.BuilderdialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The dialog Lambda function specified for the intent.dialogCodeHook(DialogCodeHookSettings dialogCodeHook) The dialog Lambda function specified for the intent.default CreateIntentResponse.BuilderfulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The fulfillment Lambda function specified for the intent.fulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook) The fulfillment Lambda function specified for the intent.default CreateIntentResponse.BuilderinitialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.initialResponseSetting(InitialResponseSetting initialResponseSetting) Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.inputContexts(Collection<InputContext> inputContexts) The list of input contexts specified for the intent.inputContexts(Consumer<InputContext.Builder>... inputContexts) The list of input contexts specified for the intent.inputContexts(InputContext... inputContexts) The list of input contexts specified for the intent.default CreateIntentResponse.BuilderintentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The closing setting specified for the intent.intentClosingSetting(IntentClosingSetting intentClosingSetting) The closing setting specified for the intent.default CreateIntentResponse.BuilderintentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) The confirmation setting specified for the intent.intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) The confirmation setting specified for the intent.A unique identifier for the intent.intentName(String intentName) The name specified for the intent.default CreateIntentResponse.BuilderkendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration) Configuration for searching a Amazon Kendra index specified for the intent.kendraConfiguration(KendraConfiguration kendraConfiguration) Configuration for searching a Amazon Kendra index specified for the intent.The locale that the intent is specified to use.outputContexts(Collection<OutputContext> outputContexts) The list of output contexts specified for the intent.outputContexts(Consumer<OutputContext.Builder>... outputContexts) The list of output contexts specified for the intent.outputContexts(OutputContext... outputContexts) The list of output contexts specified for the intent.parentIntentSignature(String parentIntentSignature) The signature of the parent intent specified for the intent.sampleUtterances(Collection<SampleUtterance> sampleUtterances) The sample utterances specified for the intent.sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) The sample utterances specified for the intent.sampleUtterances(SampleUtterance... sampleUtterances) The sample utterances specified for the intent.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
-
intentId
A unique identifier for the intent.
- Parameters:
intentId- A unique identifier for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
The name specified for the intent.
- Parameters:
intentName- The name specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description specified for the intent.
- Parameters:
description- The description specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
The signature of the parent intent specified for the intent.
- Parameters:
parentIntentSignature- The signature of the parent intent specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The sample utterances specified for the intent.
- Parameters:
sampleUtterances- The sample utterances specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
The sample utterances specified for the intent.
- Parameters:
sampleUtterances- The sample utterances specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
CreateIntentResponse.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances) The sample utterances specified for the intent.
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:
-
dialogCodeHook
The dialog Lambda function specified for the intent.
- Parameters:
dialogCodeHook- The dialog Lambda function specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogCodeHook
default CreateIntentResponse.Builder dialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook) The dialog Lambda function specified for the intent.
This is a convenience method that creates an instance of theDialogCodeHookSettings.Builderavoiding the need to create one manually viaDialogCodeHookSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todialogCodeHook(DialogCodeHookSettings).- Parameters:
dialogCodeHook- a consumer that will call methods onDialogCodeHookSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
fulfillmentCodeHook
The fulfillment Lambda function specified for the intent.
- Parameters:
fulfillmentCodeHook- The fulfillment Lambda function specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentCodeHook
default CreateIntentResponse.Builder fulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook) The fulfillment Lambda function specified for the intent.
This is a convenience method that creates an instance of theFulfillmentCodeHookSettings.Builderavoiding the need to create one manually viaFulfillmentCodeHookSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofulfillmentCodeHook(FulfillmentCodeHookSettings).- Parameters:
fulfillmentCodeHook- a consumer that will call methods onFulfillmentCodeHookSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentConfirmationSetting
CreateIntentResponse.Builder intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting) The confirmation setting specified for the intent.
- Parameters:
intentConfirmationSetting- The confirmation setting specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentConfirmationSetting
default CreateIntentResponse.Builder intentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting) The confirmation setting specified for the intent.
This is a convenience method that creates an instance of theIntentConfirmationSetting.Builderavoiding the need to create one manually viaIntentConfirmationSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointentConfirmationSetting(IntentConfirmationSetting).- Parameters:
intentConfirmationSetting- a consumer that will call methods onIntentConfirmationSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intentClosingSetting
The closing setting specified for the intent.
- Parameters:
intentClosingSetting- The closing setting specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClosingSetting
default CreateIntentResponse.Builder intentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting) The closing setting specified for the intent.
This is a convenience method that creates an instance of theIntentClosingSetting.Builderavoiding the need to create one manually viaIntentClosingSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointentClosingSetting(IntentClosingSetting).- Parameters:
intentClosingSetting- a consumer that will call methods onIntentClosingSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputContexts
The list of input contexts specified for the intent.
- Parameters:
inputContexts- The list of input contexts specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The list of input contexts specified for the intent.
- Parameters:
inputContexts- The list of input contexts specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
The list of input contexts specified for the intent.
This is a convenience method that creates an instance of theInputContext.Builderavoiding the need to create one manually viaInputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinputContexts(List<InputContext>).- Parameters:
inputContexts- a consumer that will call methods onInputContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
outputContexts
The list of output contexts specified for the intent.
- Parameters:
outputContexts- The list of output contexts specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
The list of output contexts specified for the intent.
- Parameters:
outputContexts- The list of output contexts specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
The list of output contexts specified for the intent.
This is a convenience method that creates an instance of theOutputContext.Builderavoiding the need to create one manually viaOutputContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputContexts(List<OutputContext>).- Parameters:
outputContexts- a consumer that will call methods onOutputContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kendraConfiguration
Configuration for searching a Amazon Kendra index specified for the intent.
- Parameters:
kendraConfiguration- Configuration for searching a Amazon Kendra index specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default CreateIntentResponse.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration) Configuration for searching a Amazon Kendra index specified for the intent.
This is a convenience method that creates an instance of theKendraConfiguration.Builderavoiding the need to create one manually viaKendraConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokendraConfiguration(KendraConfiguration).- Parameters:
kendraConfiguration- a consumer that will call methods onKendraConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botId
The identifier of the bot associated with the intent.
- Parameters:
botId- The identifier of the bot associated with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot associated with the intent.
- Parameters:
botVersion- The version of the bot associated with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The locale that the intent is specified to use.
- Parameters:
localeId- The locale that the intent is specified to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A timestamp of the date and time that the intent was created.
- Parameters:
creationDateTime- A timestamp of the date and time that the intent was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.
- Parameters:
initialResponseSetting- Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
default CreateIntentResponse.Builder initialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting) Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.
This is a convenience method that creates an instance of theInitialResponseSetting.Builderavoiding the need to create one manually viaInitialResponseSetting.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinitialResponseSetting(InitialResponseSetting).- Parameters:
initialResponseSetting- a consumer that will call methods onInitialResponseSetting.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-