Class UpdateBotLocaleRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.UpdateBotLocaleRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateBotLocaleRequest extends LexModelsV2Request implements ToCopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateBotLocaleRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The unique identifier of the bot that contains the locale.StringbotVersion()The version of the bot that contains the locale to be updated.static UpdateBotLocaleRequest.Builderbuilder()Stringdescription()The new description of the locale.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)GenerativeAISettingsgenerativeAISettings()Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The identifier of the language and locale to update.DoublenluIntentConfidenceThreshold()The new confidence threshold where Amazon Lex inserts theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.List<SdkField<?>>sdkFields()static Class<? extends UpdateBotLocaleRequest.Builder>serializableBuilderClass()UpdateBotLocaleRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.VoiceSettingsvoiceSettings()The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
botId
public final String botId()
The unique identifier of the bot that contains the locale.
- Returns:
- The unique identifier of the bot that contains the locale.
-
botVersion
public final String botVersion()
The version of the bot that contains the locale to be updated. The version can only be the
DRAFTversion.- Returns:
- The version of the bot that contains the locale to be updated. The version can only be the
DRAFTversion.
-
localeId
public final String localeId()
The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
- Returns:
- The identifier of the language and locale to update. The string must match one of the supported locales. For more information, see Supported languages.
-
description
public final String description()
The new description of the locale.
- Returns:
- The new description of the locale.
-
nluIntentConfidenceThreshold
public final Double nluIntentConfidenceThreshold()
The new confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.- Returns:
- The new confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents in the list of possible intents for an utterance.
-
voiceSettings
public final VoiceSettings voiceSettings()
The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
- Returns:
- The new Amazon Polly voice Amazon Lex should use for voice interaction with the user.
-
generativeAISettings
public final GenerativeAISettings generativeAISettings()
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
- Returns:
- Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing may differ if you turn a feature on. For more information, see LINK.
-
toBuilder
public UpdateBotLocaleRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateBotLocaleRequest.Builder,UpdateBotLocaleRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static UpdateBotLocaleRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateBotLocaleRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-