Interface DescribeIntentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeIntentResponse.Builder,DescribeIntentResponse>,LexModelsV2Response.Builder,SdkBuilder<DescribeIntentResponse.Builder,DescribeIntentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeIntentResponse
public static interface DescribeIntentResponse.Builder extends LexModelsV2Response.Builder, SdkPojo, CopyableBuilder<DescribeIntentResponse.Builder,DescribeIntentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeIntentResponse.BuilderbotId(String botId)The identifier of the bot associated with the intent.DescribeIntentResponse.BuilderbotVersion(String botVersion)The version of the bot associated with the intent.DescribeIntentResponse.BuildercreationDateTime(Instant creationDateTime)A timestamp of the date and time that the intent was created.DescribeIntentResponse.Builderdescription(String description)The description of the intent.default DescribeIntentResponse.BuilderdialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook)The Lambda function called during each turn of a conversation with the intent.DescribeIntentResponse.BuilderdialogCodeHook(DialogCodeHookSettings dialogCodeHook)The Lambda function called during each turn of a conversation with the intent.default DescribeIntentResponse.BuilderfulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook)The Lambda function called when the intent is complete and ready for fulfillment.DescribeIntentResponse.BuilderfulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook)The Lambda function called when the intent is complete and ready for fulfillment.default DescribeIntentResponse.BuilderinitialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting)Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.DescribeIntentResponse.BuilderinitialResponseSetting(InitialResponseSetting initialResponseSetting)Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.DescribeIntentResponse.BuilderinputContexts(Collection<InputContext> inputContexts)A list of contexts that must be active for the intent to be considered for sending to the user.DescribeIntentResponse.BuilderinputContexts(Consumer<InputContext.Builder>... inputContexts)A list of contexts that must be active for the intent to be considered for sending to the user.DescribeIntentResponse.BuilderinputContexts(InputContext... inputContexts)A list of contexts that must be active for the intent to be considered for sending to the user.default DescribeIntentResponse.BuilderintentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting)The response that Amazon Lex sends to when the intent is closed.DescribeIntentResponse.BuilderintentClosingSetting(IntentClosingSetting intentClosingSetting)The response that Amazon Lex sends to when the intent is closed.default DescribeIntentResponse.BuilderintentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting)Prompts that Amazon Lex sends to the user to confirm completion of an intent.DescribeIntentResponse.BuilderintentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)Prompts that Amazon Lex sends to the user to confirm completion of an intent.DescribeIntentResponse.BuilderintentId(String intentId)The unique identifier assigned to the intent when it was created.DescribeIntentResponse.BuilderintentName(String intentName)The name specified for the intent.default DescribeIntentResponse.BuilderkendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration)Configuration information required to use theAMAZON.KendraSearchIntentintent.DescribeIntentResponse.BuilderkendraConfiguration(KendraConfiguration kendraConfiguration)Configuration information required to use theAMAZON.KendraSearchIntentintent.DescribeIntentResponse.BuilderlastUpdatedDateTime(Instant lastUpdatedDateTime)A timestamp of the date and time that the intent was last updated.DescribeIntentResponse.BuilderlocaleId(String localeId)The language and locale specified for the intent.DescribeIntentResponse.BuilderoutputContexts(Collection<OutputContext> outputContexts)A list of contexts that are activated when the intent is fulfilled.DescribeIntentResponse.BuilderoutputContexts(Consumer<OutputContext.Builder>... outputContexts)A list of contexts that are activated when the intent is fulfilled.DescribeIntentResponse.BuilderoutputContexts(OutputContext... outputContexts)A list of contexts that are activated when the intent is fulfilled.DescribeIntentResponse.BuilderparentIntentSignature(String parentIntentSignature)The identifier of the built-in intent that this intent is derived from, if any.DescribeIntentResponse.BuildersampleUtterances(Collection<SampleUtterance> sampleUtterances)User utterances that trigger this intent.DescribeIntentResponse.BuildersampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)User utterances that trigger this intent.DescribeIntentResponse.BuildersampleUtterances(SampleUtterance... sampleUtterances)User utterances that trigger this intent.DescribeIntentResponse.BuilderslotPriorities(Collection<SlotPriority> slotPriorities)The list that determines the priority that slots should be elicited from the user.DescribeIntentResponse.BuilderslotPriorities(Consumer<SlotPriority.Builder>... slotPriorities)The list that determines the priority that slots should be elicited from the user.DescribeIntentResponse.BuilderslotPriorities(SlotPriority... slotPriorities)The list that determines the priority that slots should be elicited from the user.-
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
DescribeIntentResponse.Builder intentId(String intentId)
The unique identifier assigned to the intent when it was created.
- Parameters:
intentId- The unique identifier assigned to the intent when it was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentName
DescribeIntentResponse.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
DescribeIntentResponse.Builder description(String description)
The description of the intent.
- Parameters:
description- The description of the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentIntentSignature
DescribeIntentResponse.Builder parentIntentSignature(String parentIntentSignature)
The identifier of the built-in intent that this intent is derived from, if any.
- Parameters:
parentIntentSignature- The identifier of the built-in intent that this intent is derived from, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
DescribeIntentResponse.Builder sampleUtterances(Collection<SampleUtterance> sampleUtterances)
User utterances that trigger this intent.
- Parameters:
sampleUtterances- User utterances that trigger this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
DescribeIntentResponse.Builder sampleUtterances(SampleUtterance... sampleUtterances)
User utterances that trigger this intent.
- Parameters:
sampleUtterances- User utterances that trigger this intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
DescribeIntentResponse.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)
User utterances that trigger this 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
DescribeIntentResponse.Builder dialogCodeHook(DialogCodeHookSettings dialogCodeHook)
The Lambda function called during each turn of a conversation with the intent.
- Parameters:
dialogCodeHook- The Lambda function called during each turn of a conversation with the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dialogCodeHook
default DescribeIntentResponse.Builder dialogCodeHook(Consumer<DialogCodeHookSettings.Builder> dialogCodeHook)
The Lambda function called during each turn of a conversation with 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
DescribeIntentResponse.Builder fulfillmentCodeHook(FulfillmentCodeHookSettings fulfillmentCodeHook)
The Lambda function called when the intent is complete and ready for fulfillment.
- Parameters:
fulfillmentCodeHook- The Lambda function called when the intent is complete and ready for fulfillment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fulfillmentCodeHook
default DescribeIntentResponse.Builder fulfillmentCodeHook(Consumer<FulfillmentCodeHookSettings.Builder> fulfillmentCodeHook)
The Lambda function called when the intent is complete and ready for fulfillment.
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)
-
slotPriorities
DescribeIntentResponse.Builder slotPriorities(Collection<SlotPriority> slotPriorities)
The list that determines the priority that slots should be elicited from the user.
- Parameters:
slotPriorities- The list that determines the priority that slots should be elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
DescribeIntentResponse.Builder slotPriorities(SlotPriority... slotPriorities)
The list that determines the priority that slots should be elicited from the user.
- Parameters:
slotPriorities- The list that determines the priority that slots should be elicited from the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotPriorities
DescribeIntentResponse.Builder slotPriorities(Consumer<SlotPriority.Builder>... slotPriorities)
The list that determines the priority that slots should be elicited from the user.
This is a convenience method that creates an instance of theSlotPriority.Builderavoiding the need to create one manually viaSlotPriority.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#slotPriorities(List.) - Parameters:
slotPriorities- a consumer that will call methods onSlotPriority.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#slotPriorities(java.util.Collection)
-
intentConfirmationSetting
DescribeIntentResponse.Builder intentConfirmationSetting(IntentConfirmationSetting intentConfirmationSetting)
Prompts that Amazon Lex sends to the user to confirm completion of an intent.
- Parameters:
intentConfirmationSetting- Prompts that Amazon Lex sends to the user to confirm completion of an intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentConfirmationSetting
default DescribeIntentResponse.Builder intentConfirmationSetting(Consumer<IntentConfirmationSetting.Builder> intentConfirmationSetting)
Prompts that Amazon Lex sends to the user to confirm completion of an 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
DescribeIntentResponse.Builder intentClosingSetting(IntentClosingSetting intentClosingSetting)
The response that Amazon Lex sends to when the intent is closed.
- Parameters:
intentClosingSetting- The response that Amazon Lex sends to when the intent is closed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intentClosingSetting
default DescribeIntentResponse.Builder intentClosingSetting(Consumer<IntentClosingSetting.Builder> intentClosingSetting)
The response that Amazon Lex sends to when the intent is closed.
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
DescribeIntentResponse.Builder inputContexts(Collection<InputContext> inputContexts)
A list of contexts that must be active for the intent to be considered for sending to the user.
- Parameters:
inputContexts- A list of contexts that must be active for the intent to be considered for sending to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
DescribeIntentResponse.Builder inputContexts(InputContext... inputContexts)
A list of contexts that must be active for the intent to be considered for sending to the user.
- Parameters:
inputContexts- A list of contexts that must be active for the intent to be considered for sending to the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputContexts
DescribeIntentResponse.Builder inputContexts(Consumer<InputContext.Builder>... inputContexts)
A list of contexts that must be active for the intent to be considered for sending to the user.
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
DescribeIntentResponse.Builder outputContexts(Collection<OutputContext> outputContexts)
A list of contexts that are activated when the intent is fulfilled.
- Parameters:
outputContexts- A list of contexts that are activated when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
DescribeIntentResponse.Builder outputContexts(OutputContext... outputContexts)
A list of contexts that are activated when the intent is fulfilled.
- Parameters:
outputContexts- A list of contexts that are activated when the intent is fulfilled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputContexts
DescribeIntentResponse.Builder outputContexts(Consumer<OutputContext.Builder>... outputContexts)
A list of contexts that are activated when the intent is fulfilled.
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
DescribeIntentResponse.Builder kendraConfiguration(KendraConfiguration kendraConfiguration)
Configuration information required to use the
AMAZON.KendraSearchIntentintent.- Parameters:
kendraConfiguration- Configuration information required to use theAMAZON.KendraSearchIntentintent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kendraConfiguration
default DescribeIntentResponse.Builder kendraConfiguration(Consumer<KendraConfiguration.Builder> kendraConfiguration)
Configuration information required to use the
This is a convenience method that creates an instance of theAMAZON.KendraSearchIntentintent.KendraConfiguration.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
DescribeIntentResponse.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
DescribeIntentResponse.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
DescribeIntentResponse.Builder localeId(String localeId)
The language and locale specified for the intent.
- Parameters:
localeId- The language and locale specified for the intent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
DescribeIntentResponse.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.
-
lastUpdatedDateTime
DescribeIntentResponse.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
A timestamp of the date and time that the intent was last updated.
- Parameters:
lastUpdatedDateTime- A timestamp of the date and time that the intent was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
DescribeIntentResponse.Builder initialResponseSetting(InitialResponseSetting initialResponseSetting)
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
- Parameters:
initialResponseSetting- Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
initialResponseSetting
default DescribeIntentResponse.Builder initialResponseSetting(Consumer<InitialResponseSetting.Builder> initialResponseSetting)
Configuration setting for a response sent to the user before Amazon Lex starts eliciting slots.
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)
-
-