Interface IntentConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IntentConfig.Builder,,IntentConfig> SdkBuilder<IntentConfig.Builder,,IntentConfig> SdkPojo
- Enclosing class:
IntentConfig
-
Method Summary
Modifier and TypeMethodDescriptiondefault IntentConfig.BuilderlastSearchIntentConfig(Consumer<LastSearchIntentConfig.Builder> lastSearchIntentConfig) The configuration of theLAST_SEARCH_INTENTintent type.lastSearchIntentConfig(LastSearchIntentConfig lastSearchIntentConfig) The configuration of theLAST_SEARCH_INTENTintent type.default IntentConfig.BuilderpriceSensitivityConfig(Consumer<PriceSensitivityConfig.Builder> priceSensitivityConfig) The configuration of thePRICE_SENSITIVITYintent type.priceSensitivityConfig(PriceSensitivityConfig priceSensitivityConfig) The configuration of thePRICE_SENSITIVITYintent type.default IntentConfig.BuilderupgradeUpsellPropensityConfig(Consumer<UpgradeUpsellPropensityConfig.Builder> upgradeUpsellPropensityConfig) The configuration of theUPGRADE_UPSELL_PROPENSITYintent type.upgradeUpsellPropensityConfig(UpgradeUpsellPropensityConfig upgradeUpsellPropensityConfig) The configuration of theUPGRADE_UPSELL_PROPENSITYintent type.default IntentConfig.BuilderwebSessionSummaryConfig(Consumer<WebSessionSummaryConfig.Builder> webSessionSummaryConfig) The configuration of theWEB_SESSION_SUMMARYintent type.webSessionSummaryConfig(WebSessionSummaryConfig webSessionSummaryConfig) The configuration of theWEB_SESSION_SUMMARYintent type.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
priceSensitivityConfig
The configuration of the
PRICE_SENSITIVITYintent type.- Parameters:
priceSensitivityConfig- The configuration of thePRICE_SENSITIVITYintent type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priceSensitivityConfig
default IntentConfig.Builder priceSensitivityConfig(Consumer<PriceSensitivityConfig.Builder> priceSensitivityConfig) The configuration of the
This is a convenience method that creates an instance of thePRICE_SENSITIVITYintent type.PriceSensitivityConfig.Builderavoiding the need to create one manually viaPriceSensitivityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topriceSensitivityConfig(PriceSensitivityConfig).- Parameters:
priceSensitivityConfig- a consumer that will call methods onPriceSensitivityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webSessionSummaryConfig
The configuration of the
WEB_SESSION_SUMMARYintent type.- Parameters:
webSessionSummaryConfig- The configuration of theWEB_SESSION_SUMMARYintent type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webSessionSummaryConfig
default IntentConfig.Builder webSessionSummaryConfig(Consumer<WebSessionSummaryConfig.Builder> webSessionSummaryConfig) The configuration of the
This is a convenience method that creates an instance of theWEB_SESSION_SUMMARYintent type.WebSessionSummaryConfig.Builderavoiding the need to create one manually viaWebSessionSummaryConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebSessionSummaryConfig(WebSessionSummaryConfig).- Parameters:
webSessionSummaryConfig- a consumer that will call methods onWebSessionSummaryConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
upgradeUpsellPropensityConfig
IntentConfig.Builder upgradeUpsellPropensityConfig(UpgradeUpsellPropensityConfig upgradeUpsellPropensityConfig) The configuration of the
UPGRADE_UPSELL_PROPENSITYintent type.- Parameters:
upgradeUpsellPropensityConfig- The configuration of theUPGRADE_UPSELL_PROPENSITYintent type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
upgradeUpsellPropensityConfig
default IntentConfig.Builder upgradeUpsellPropensityConfig(Consumer<UpgradeUpsellPropensityConfig.Builder> upgradeUpsellPropensityConfig) The configuration of the
This is a convenience method that creates an instance of theUPGRADE_UPSELL_PROPENSITYintent type.UpgradeUpsellPropensityConfig.Builderavoiding the need to create one manually viaUpgradeUpsellPropensityConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupgradeUpsellPropensityConfig(UpgradeUpsellPropensityConfig).- Parameters:
upgradeUpsellPropensityConfig- a consumer that will call methods onUpgradeUpsellPropensityConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastSearchIntentConfig
The configuration of the
LAST_SEARCH_INTENTintent type.- Parameters:
lastSearchIntentConfig- The configuration of theLAST_SEARCH_INTENTintent type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastSearchIntentConfig
default IntentConfig.Builder lastSearchIntentConfig(Consumer<LastSearchIntentConfig.Builder> lastSearchIntentConfig) The configuration of the
This is a convenience method that creates an instance of theLAST_SEARCH_INTENTintent type.LastSearchIntentConfig.Builderavoiding the need to create one manually viaLastSearchIntentConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastSearchIntentConfig(LastSearchIntentConfig).- Parameters:
lastSearchIntentConfig- a consumer that will call methods onLastSearchIntentConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-