Interface CreateIntentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateIntentResponse.Builder,CreateIntentResponse>,LexModelsV2Response.Builder,SdkBuilder<CreateIntentResponse.Builder,CreateIntentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateIntentResponse
public static interface CreateIntentResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<CreateIntentResponse.Builder,CreateIntentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateIntentResponse.BuilderbotId(String botId)The identifier of the bot associated with the intent.CreateIntentResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the intent.CreateIntentResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the intent was created.CreateIntentResponse.Builderdescription(String description)The description specified for the intent.default CreateIntentResponse.BuilderdialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook)The dialog Lambda function specified for the intent.CreateIntentResponse.BuilderdialogCodeHook(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.CreateIntentResponse.BuilderfulfillmentCodeHook(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.CreateIntentResponse.BuilderinitialResponseSetting(InitialResponseSetting initialResponseSetting)Configuration settings for the response that is sent to the user at the beginning of a conversation, before eliciting slot values.CreateIntentResponse.BuilderinputContexts(Collection<InputContext> inputContexts)The list of input contexts specified for the intent.CreateIntentResponse.BuilderinputContexts(Consumer<InputContext.Builder>... inputContexts)The list of input contexts specified for the intent.CreateIntentResponse.BuilderinputContexts(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.CreateIntentResponse.BuilderintentClosingSetting(IntentClosingSetting intentClosingSetting)The closing setting specified for the intent.default CreateIntentResponse.BuilderintentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting)The confirmation setting specified for the intent.CreateIntentResponse.BuilderintentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)The confirmation setting specified for the intent.CreateIntentResponse.BuilderintentId(String intentId)A unique identifier for the intent.CreateIntentResponse.BuilderintentName(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.CreateIntentResponse.BuilderkendraConfiguration(KendraConfiguration kendraConfiguration)Configuration for searching a Amazon Kendra index specified for the intent.CreateIntentResponse.BuilderlocaleId(String localeId)The locale that the intent is specified to use.CreateIntentResponse.BuilderoutputContexts(Collection<OutputContext> outputContexts)The list of output contexts specified for the intent.CreateIntentResponse.BuilderoutputContexts(Consumer<OutputContext.Builder>... outputContexts)The list of output contexts specified for the intent.CreateIntentResponse.BuilderoutputContexts(OutputContext... outputContexts)The list of output contexts specified for the intent.CreateIntentResponse.BuilderparentIntentSignature(String parentIntentSignature)The signature of the parent intent specified for the intent.default CreateIntentResponse.BuilderqnAIntentConfiguration(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration)Details about the the configuration of the built-inAmazon.QnAIntent.CreateIntentResponse.BuilderqnAIntentConfiguration(QnAIntentConfiguration qnAIntentConfiguration)Details about the the configuration of the built-inAmazon.QnAIntent.CreateIntentResponse.BuildersampleUtterances(Collection<SampleUtterance> sampleUtterances)The sample utterances specified for the intent.CreateIntentResponse.BuildersampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)The sample utterances specified for the intent.CreateIntentResponse.BuildersampleUtterances(SampleUtterance... sampleUtterances)The sample utterances specified for the intent.-
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
-
intentId
CreateIntentResponse.Builder intentId(String 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
CreateIntentResponse.Builder intentName(String 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
CreateIntentResponse.Builder description(String 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
CreateIntentResponse.Builder parentIntentSignature(String 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
CreateIntentResponse.Builder sampleUtterances(Collection<SampleUtterance> 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(SampleUtterance... 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 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)
-
dialogCodeHook
CreateIntentResponse.Builder dialogCodeHook(DialogCodeHookSettings 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:
dialogCodeHook(DialogCodeHookSettings)
-
fulfillmentCodeHook
CreateIntentResponse.Builder fulfillmentCodeHook(FulfillmentCodeHookSettings 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:
fulfillmentCodeHook(FulfillmentCodeHookSettings)
-
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:
intentConfirmationSetting(IntentConfirmationSetting)
-
intentClosingSetting
CreateIntentResponse.Builder intentClosingSetting(IntentClosingSetting 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:
intentClosingSetting(IntentClosingSetting)
-
inputContexts
CreateIntentResponse.Builder inputContexts(Collection<InputContext> 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
CreateIntentResponse.Builder inputContexts(InputContext... 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
CreateIntentResponse.Builder inputContexts(Consumer<InputContext.Builder>... 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 to#inputContexts(List.) - 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:
#inputContexts(java.util.Collection)
-
outputContexts
CreateIntentResponse.Builder outputContexts(Collection<OutputContext> 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
CreateIntentResponse.Builder outputContexts(OutputContext... 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
CreateIntentResponse.Builder outputContexts(Consumer<OutputContext.Builder>... 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 to#outputContexts(List.) - 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:
#outputContexts(java.util.Collection)
-
kendraConfiguration
CreateIntentResponse.Builder kendraConfiguration(KendraConfiguration 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:
kendraConfiguration(KendraConfiguration)
-
botId
CreateIntentResponse.Builder botId(String 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
CreateIntentResponse.Builder botVersion(String 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
CreateIntentResponse.Builder localeId(String 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
CreateIntentResponse.Builder creationDateTime(Instant 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
CreateIntentResponse.Builder initialResponseSetting(InitialResponseSetting 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:
initialResponseSetting(InitialResponseSetting)
-
qnAIntentConfiguration
CreateIntentResponse.Builder qnAIntentConfiguration(QnAIntentConfiguration qnAIntentConfiguration)
Details about the the configuration of the built-in
Amazon.QnAIntent.- Parameters:
qnAIntentConfiguration- Details about the the configuration of the built-inAmazon.QnAIntent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qnAIntentConfiguration
default CreateIntentResponse.Builder qnAIntentConfiguration(Consumer<QnAIntentConfiguration.Builder> qnAIntentConfiguration)
Details about the the configuration of the built-in
This is a convenience method that creates an instance of theAmazon.QnAIntent.QnAIntentConfiguration.Builderavoiding the need to create one manually viaQnAIntentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqnAIntentConfiguration(QnAIntentConfiguration).- Parameters:
qnAIntentConfiguration- a consumer that will call methods onQnAIntentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
qnAIntentConfiguration(QnAIntentConfiguration)
-
-