Class CreateBotLocaleResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
-
- software.amazon.awssdk.services.lexmodelsv2.model.CreateBotLocaleResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateBotLocaleResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateBotLocaleResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The specified bot identifier.BotLocaleStatusbotLocaleStatus()The status of the bot.StringbotLocaleStatusAsString()The status of the bot.StringbotVersion()The specified bot version.static CreateBotLocaleResponse.Builderbuilder()InstantcreationDateTime()A timestamp specifying the date and time that the bot locale was created.Stringdescription()The specified description of the bot locale.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)GenerativeAISettingsgenerativeAISettings()Returns the value of the GenerativeAISettings property for this object.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The specified locale identifier.StringlocaleName()The specified locale name.DoublenluIntentConfidenceThreshold()The specified confidence threshold for inserting theAMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.List<SdkField<?>>sdkFields()static Class<? extends CreateBotLocaleResponse.Builder>serializableBuilderClass()CreateBotLocaleResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VoiceSettingsvoiceSettings()The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.-
Methods inherited from class software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 specified bot identifier.
- Returns:
- The specified bot identifier.
-
botVersion
public final String botVersion()
The specified bot version.
- Returns:
- The specified bot version.
-
localeName
public final String localeName()
The specified locale name.
- Returns:
- The specified locale name.
-
localeId
public final String localeId()
The specified locale identifier.
- Returns:
- The specified locale identifier.
-
description
public final String description()
The specified description of the bot locale.
- Returns:
- The specified description of the bot locale.
-
nluIntentConfidenceThreshold
public final Double nluIntentConfidenceThreshold()
The specified confidence threshold for inserting the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.- Returns:
- The specified confidence threshold for inserting the
AMAZON.FallbackIntentandAMAZON.KendraSearchIntentintents.
-
voiceSettings
public final VoiceSettings voiceSettings()
The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
- Returns:
- The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
-
botLocaleStatus
public final BotLocaleStatus botLocaleStatus()
The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt.If there was a problem with building the bot, the status is
Failed. If the bot was saved but not built, the status isNotBuilt.If the service returns an enum value that is not available in the current SDK version,
botLocaleStatuswill returnBotLocaleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotLocaleStatusAsString().- Returns:
- The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt.If there was a problem with building the bot, the status is
Failed. If the bot was saved but not built, the status isNotBuilt. - See Also:
BotLocaleStatus
-
botLocaleStatusAsString
public final String botLocaleStatusAsString()
The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt.If there was a problem with building the bot, the status is
Failed. If the bot was saved but not built, the status isNotBuilt.If the service returns an enum value that is not available in the current SDK version,
botLocaleStatuswill returnBotLocaleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotLocaleStatusAsString().- Returns:
- The status of the bot.
When the status is
Creatingthe bot locale is being configured. When the status isBuildingAmazon Lex is building the bot for testing and use.If the status of the bot is
ReadyExpressTesting, you can test the bot using the exact utterances specified in the bots' intents. When the bot is ready for full testing or to run, the status isBuilt.If there was a problem with building the bot, the status is
Failed. If the bot was saved but not built, the status isNotBuilt. - See Also:
BotLocaleStatus
-
creationDateTime
public final Instant creationDateTime()
A timestamp specifying the date and time that the bot locale was created.
- Returns:
- A timestamp specifying the date and time that the bot locale was created.
-
generativeAISettings
public final GenerativeAISettings generativeAISettings()
Returns the value of the GenerativeAISettings property for this object.- Returns:
- The value of the GenerativeAISettings property for this object.
-
toBuilder
public CreateBotLocaleResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBotLocaleResponse.Builder,CreateBotLocaleResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateBotLocaleResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBotLocaleResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-