@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBotLocaleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBotLocaleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBotLocaleResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot associated with the locale.
|
List<BotLocaleHistoryEvent> |
getBotLocaleHistoryEvents()
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
|
String |
getBotLocaleStatus()
The status of the bot.
|
String |
getBotVersion()
The version of the bot associated with the locale.
|
Date |
getCreationDateTime()
The date and time that the locale was created.
|
String |
getDescription()
The description of the locale.
|
List<String> |
getFailureReasons()
if
botLocaleStatus is Failed , Amazon Lex explains why it failed to build the bot. |
GenerativeAISettings |
getGenerativeAISettings()
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
|
Integer |
getIntentsCount()
The number of intents defined for the locale.
|
Date |
getLastBuildSubmittedDateTime()
The date and time that the locale was last submitted for building.
|
Date |
getLastUpdatedDateTime()
The date and time that the locale was last updated.
|
String |
getLocaleId()
The unique identifier of the described locale.
|
String |
getLocaleName()
The name of the locale.
|
Double |
getNluIntentConfidenceThreshold()
The confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
List<String> |
getRecommendedActions()
Recommended actions to take to resolve an error in the
failureReasons field. |
Integer |
getSlotTypesCount()
The number of slot types defined for the locale.
|
VoiceSettings |
getVoiceSettings()
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot associated with the locale.
|
void |
setBotLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
|
void |
setBotLocaleStatus(String botLocaleStatus)
The status of the bot.
|
void |
setBotVersion(String botVersion)
The version of the bot associated with the locale.
|
void |
setCreationDateTime(Date creationDateTime)
The date and time that the locale was created.
|
void |
setDescription(String description)
The description of the locale.
|
void |
setFailureReasons(Collection<String> failureReasons)
if
botLocaleStatus is Failed , Amazon Lex explains why it failed to build the bot. |
void |
setGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
|
void |
setIntentsCount(Integer intentsCount)
The number of intents defined for the locale.
|
void |
setLastBuildSubmittedDateTime(Date lastBuildSubmittedDateTime)
The date and time that the locale was last submitted for building.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the locale was last updated.
|
void |
setLocaleId(String localeId)
The unique identifier of the described locale.
|
void |
setLocaleName(String localeName)
The name of the locale.
|
void |
setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
void |
setRecommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
void |
setSlotTypesCount(Integer slotTypesCount)
The number of slot types defined for the locale.
|
void |
setVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
|
String |
toString()
Returns a string representation of this object.
|
DescribeBotLocaleResult |
withBotId(String botId)
The identifier of the bot associated with the locale.
|
DescribeBotLocaleResult |
withBotLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
|
DescribeBotLocaleResult |
withBotLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
|
DescribeBotLocaleResult |
withBotLocaleStatus(BotLocaleStatus botLocaleStatus)
The status of the bot.
|
DescribeBotLocaleResult |
withBotLocaleStatus(String botLocaleStatus)
The status of the bot.
|
DescribeBotLocaleResult |
withBotVersion(String botVersion)
The version of the bot associated with the locale.
|
DescribeBotLocaleResult |
withCreationDateTime(Date creationDateTime)
The date and time that the locale was created.
|
DescribeBotLocaleResult |
withDescription(String description)
The description of the locale.
|
DescribeBotLocaleResult |
withFailureReasons(Collection<String> failureReasons)
if
botLocaleStatus is Failed , Amazon Lex explains why it failed to build the bot. |
DescribeBotLocaleResult |
withFailureReasons(String... failureReasons)
if
botLocaleStatus is Failed , Amazon Lex explains why it failed to build the bot. |
DescribeBotLocaleResult |
withGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
|
DescribeBotLocaleResult |
withIntentsCount(Integer intentsCount)
The number of intents defined for the locale.
|
DescribeBotLocaleResult |
withLastBuildSubmittedDateTime(Date lastBuildSubmittedDateTime)
The date and time that the locale was last submitted for building.
|
DescribeBotLocaleResult |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the locale was last updated.
|
DescribeBotLocaleResult |
withLocaleId(String localeId)
The unique identifier of the described locale.
|
DescribeBotLocaleResult |
withLocaleName(String localeName)
The name of the locale.
|
DescribeBotLocaleResult |
withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The confidence threshold where Amazon Lex inserts the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
DescribeBotLocaleResult |
withRecommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
DescribeBotLocaleResult |
withRecommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
DescribeBotLocaleResult |
withSlotTypesCount(Integer slotTypesCount)
The number of slot types defined for the locale.
|
DescribeBotLocaleResult |
withVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier of the bot associated with the locale.
botId
- The identifier of the bot associated with the locale.public String getBotId()
The identifier of the bot associated with the locale.
public DescribeBotLocaleResult withBotId(String botId)
The identifier of the bot associated with the locale.
botId
- The identifier of the bot associated with the locale.public void setBotVersion(String botVersion)
The version of the bot associated with the locale.
botVersion
- The version of the bot associated with the locale.public String getBotVersion()
The version of the bot associated with the locale.
public DescribeBotLocaleResult withBotVersion(String botVersion)
The version of the bot associated with the locale.
botVersion
- The version of the bot associated with the locale.public void setLocaleId(String localeId)
The unique identifier of the described locale.
localeId
- The unique identifier of the described locale.public String getLocaleId()
The unique identifier of the described locale.
public DescribeBotLocaleResult withLocaleId(String localeId)
The unique identifier of the described locale.
localeId
- The unique identifier of the described locale.public void setLocaleName(String localeName)
The name of the locale.
localeName
- The name of the locale.public String getLocaleName()
The name of the locale.
public DescribeBotLocaleResult withLocaleName(String localeName)
The name of the locale.
localeName
- The name of the locale.public void setDescription(String description)
The description of the locale.
description
- The description of the locale.public String getDescription()
The description of the locale.
public DescribeBotLocaleResult withDescription(String description)
The description of the locale.
description
- The description of the locale.public void setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
nluIntentConfidenceThreshold
- The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.public Double getNluIntentConfidenceThreshold()
The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.public DescribeBotLocaleResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
nluIntentConfidenceThreshold
- The confidence threshold where Amazon Lex inserts the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.public void setVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
voiceSettings
- The Amazon Polly voice Amazon Lex uses for voice interaction with the user.public VoiceSettings getVoiceSettings()
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
public DescribeBotLocaleResult withVoiceSettings(VoiceSettings voiceSettings)
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
voiceSettings
- The Amazon Polly voice Amazon Lex uses for voice interaction with the user.public void setIntentsCount(Integer intentsCount)
The number of intents defined for the locale.
intentsCount
- The number of intents defined for the locale.public Integer getIntentsCount()
The number of intents defined for the locale.
public DescribeBotLocaleResult withIntentsCount(Integer intentsCount)
The number of intents defined for the locale.
intentsCount
- The number of intents defined for the locale.public void setSlotTypesCount(Integer slotTypesCount)
The number of slot types defined for the locale.
slotTypesCount
- The number of slot types defined for the locale.public Integer getSlotTypesCount()
The number of slot types defined for the locale.
public DescribeBotLocaleResult withSlotTypesCount(Integer slotTypesCount)
The number of slot types defined for the locale.
slotTypesCount
- The number of slot types defined for the locale.public void setBotLocaleStatus(String botLocaleStatus)
The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.
botLocaleStatus
- The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.BotLocaleStatus
public String getBotLocaleStatus()
The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.
Failed
, the reasons for the failure are listed in
the failureReasons
field.BotLocaleStatus
public DescribeBotLocaleResult withBotLocaleStatus(String botLocaleStatus)
The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.
botLocaleStatus
- The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.BotLocaleStatus
public DescribeBotLocaleResult withBotLocaleStatus(BotLocaleStatus botLocaleStatus)
The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.
botLocaleStatus
- The status of the bot. If the status is Failed
, the reasons for the failure are listed in the
failureReasons
field.BotLocaleStatus
public List<String> getFailureReasons()
if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
bot.public void setFailureReasons(Collection<String> failureReasons)
if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
failureReasons
- if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
bot.public DescribeBotLocaleResult withFailureReasons(String... failureReasons)
if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
NOTE: This method appends the values to the existing list (if any). Use
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
bot.public DescribeBotLocaleResult withFailureReasons(Collection<String> failureReasons)
if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the bot.
failureReasons
- if botLocaleStatus
is Failed
, Amazon Lex explains why it failed to build the
bot.public void setCreationDateTime(Date creationDateTime)
The date and time that the locale was created.
creationDateTime
- The date and time that the locale was created.public Date getCreationDateTime()
The date and time that the locale was created.
public DescribeBotLocaleResult withCreationDateTime(Date creationDateTime)
The date and time that the locale was created.
creationDateTime
- The date and time that the locale was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the locale was last updated.
lastUpdatedDateTime
- The date and time that the locale was last updated.public Date getLastUpdatedDateTime()
The date and time that the locale was last updated.
public DescribeBotLocaleResult withLastUpdatedDateTime(Date lastUpdatedDateTime)
The date and time that the locale was last updated.
lastUpdatedDateTime
- The date and time that the locale was last updated.public void setLastBuildSubmittedDateTime(Date lastBuildSubmittedDateTime)
The date and time that the locale was last submitted for building.
lastBuildSubmittedDateTime
- The date and time that the locale was last submitted for building.public Date getLastBuildSubmittedDateTime()
The date and time that the locale was last submitted for building.
public DescribeBotLocaleResult withLastBuildSubmittedDateTime(Date lastBuildSubmittedDateTime)
The date and time that the locale was last submitted for building.
lastBuildSubmittedDateTime
- The date and time that the locale was last submitted for building.public List<BotLocaleHistoryEvent> getBotLocaleHistoryEvents()
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
public void setBotLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
botLocaleHistoryEvents
- History of changes, such as when a locale is used in an alias, that have taken place for the locale.public DescribeBotLocaleResult withBotLocaleHistoryEvents(BotLocaleHistoryEvent... botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
NOTE: This method appends the values to the existing list (if any). Use
setBotLocaleHistoryEvents(java.util.Collection)
or
withBotLocaleHistoryEvents(java.util.Collection)
if you want to override the existing values.
botLocaleHistoryEvents
- History of changes, such as when a locale is used in an alias, that have taken place for the locale.public DescribeBotLocaleResult withBotLocaleHistoryEvents(Collection<BotLocaleHistoryEvent> botLocaleHistoryEvents)
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
botLocaleHistoryEvents
- History of changes, such as when a locale is used in an alias, that have taken place for the locale.public List<String> getRecommendedActions()
Recommended actions to take to resolve an error in the failureReasons
field.
failureReasons
field.public void setRecommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the failureReasons
field.
recommendedActions
- Recommended actions to take to resolve an error in the failureReasons
field.public DescribeBotLocaleResult withRecommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the failureReasons
field.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendedActions(java.util.Collection)
or withRecommendedActions(java.util.Collection)
if
you want to override the existing values.
recommendedActions
- Recommended actions to take to resolve an error in the failureReasons
field.public DescribeBotLocaleResult withRecommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the failureReasons
field.
recommendedActions
- Recommended actions to take to resolve an error in the failureReasons
field.public void setGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
generativeAISettings
- Contains settings for Amazon Bedrock's generative AI features for your bot locale.public GenerativeAISettings getGenerativeAISettings()
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
public DescribeBotLocaleResult withGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for Amazon Bedrock's generative AI features for your bot locale.
generativeAISettings
- Contains settings for Amazon Bedrock's generative AI features for your bot locale.public String toString()
toString
in class Object
Object.toString()
public DescribeBotLocaleResult clone()