@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateBotLocaleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdateBotLocaleResult() |
Modifier and Type | Method and Description |
---|---|
UpdateBotLocaleResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot that contains the updated locale.
|
String |
getBotLocaleStatus()
The current status of the locale.
|
String |
getBotVersion()
The version of the bot that contains the updated locale.
|
Date |
getCreationDateTime()
A timestamp of the date and time that the locale was created.
|
String |
getDescription()
The updated description of the locale.
|
List<String> |
getFailureReasons()
If the
botLocaleStatus is Failed , the failureReasons field lists the
errors that occurred while building the bot. |
GenerativeAISettings |
getGenerativeAISettings()
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
|
Date |
getLastUpdatedDateTime()
A timestamp of the date and time that the locale was last updated.
|
String |
getLocaleId()
The language and locale of the updated bot locale.
|
String |
getLocaleName()
The updated locale name for the locale.
|
Double |
getNluIntentConfidenceThreshold()
The updated confidence threshold for inserting 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. |
VoiceSettings |
getVoiceSettings()
The updated Amazon Polly voice to use for voice interaction with the user.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot that contains the updated locale.
|
void |
setBotLocaleStatus(String botLocaleStatus)
The current status of the locale.
|
void |
setBotVersion(String botVersion)
The version of the bot that contains the updated locale.
|
void |
setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the locale was created.
|
void |
setDescription(String description)
The updated description of the locale.
|
void |
setFailureReasons(Collection<String> failureReasons)
If the
botLocaleStatus is Failed , the failureReasons field lists the
errors that occurred while building the bot. |
void |
setGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
|
void |
setLocaleId(String localeId)
The language and locale of the updated bot locale.
|
void |
setLocaleName(String localeName)
The updated locale name for the locale.
|
void |
setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting 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 |
setVoiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
|
String |
toString()
Returns a string representation of this object.
|
UpdateBotLocaleResult |
withBotId(String botId)
The identifier of the bot that contains the updated locale.
|
UpdateBotLocaleResult |
withBotLocaleStatus(BotLocaleStatus botLocaleStatus)
The current status of the locale.
|
UpdateBotLocaleResult |
withBotLocaleStatus(String botLocaleStatus)
The current status of the locale.
|
UpdateBotLocaleResult |
withBotVersion(String botVersion)
The version of the bot that contains the updated locale.
|
UpdateBotLocaleResult |
withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the locale was created.
|
UpdateBotLocaleResult |
withDescription(String description)
The updated description of the locale.
|
UpdateBotLocaleResult |
withFailureReasons(Collection<String> failureReasons)
If the
botLocaleStatus is Failed , the failureReasons field lists the
errors that occurred while building the bot. |
UpdateBotLocaleResult |
withFailureReasons(String... failureReasons)
If the
botLocaleStatus is Failed , the failureReasons field lists the
errors that occurred while building the bot. |
UpdateBotLocaleResult |
withGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
|
UpdateBotLocaleResult |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
|
UpdateBotLocaleResult |
withLocaleId(String localeId)
The language and locale of the updated bot locale.
|
UpdateBotLocaleResult |
withLocaleName(String localeName)
The updated locale name for the locale.
|
UpdateBotLocaleResult |
withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
UpdateBotLocaleResult |
withRecommendedActions(Collection<String> recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
UpdateBotLocaleResult |
withRecommendedActions(String... recommendedActions)
Recommended actions to take to resolve an error in the
failureReasons field. |
UpdateBotLocaleResult |
withVoiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier of the bot that contains the updated locale.
botId
- The identifier of the bot that contains the updated locale.public String getBotId()
The identifier of the bot that contains the updated locale.
public UpdateBotLocaleResult withBotId(String botId)
The identifier of the bot that contains the updated locale.
botId
- The identifier of the bot that contains the updated locale.public void setBotVersion(String botVersion)
The version of the bot that contains the updated locale.
botVersion
- The version of the bot that contains the updated locale.public String getBotVersion()
The version of the bot that contains the updated locale.
public UpdateBotLocaleResult withBotVersion(String botVersion)
The version of the bot that contains the updated locale.
botVersion
- The version of the bot that contains the updated locale.public void setLocaleId(String localeId)
The language and locale of the updated bot locale.
localeId
- The language and locale of the updated bot locale.public String getLocaleId()
The language and locale of the updated bot locale.
public UpdateBotLocaleResult withLocaleId(String localeId)
The language and locale of the updated bot locale.
localeId
- The language and locale of the updated bot locale.public void setLocaleName(String localeName)
The updated locale name for the locale.
localeName
- The updated locale name for the locale.public String getLocaleName()
The updated locale name for the locale.
public UpdateBotLocaleResult withLocaleName(String localeName)
The updated locale name for the locale.
localeName
- The updated locale name for the locale.public void setDescription(String description)
The updated description of the locale.
description
- The updated description of the locale.public String getDescription()
The updated description of the locale.
public UpdateBotLocaleResult withDescription(String description)
The updated description of the locale.
description
- The updated description of the locale.public void setNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
nluIntentConfidenceThreshold
- The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.public Double getNluIntentConfidenceThreshold()
The updated confidence threshold for inserting 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 UpdateBotLocaleResult withNluIntentConfidenceThreshold(Double nluIntentConfidenceThreshold)
The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.
nluIntentConfidenceThreshold
- The updated confidence threshold for inserting the AMAZON.FallbackIntent
and
AMAZON.KendraSearchIntent
intents in the list of possible intents for an utterance.public void setVoiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
voiceSettings
- The updated Amazon Polly voice to use for voice interaction with the user.public VoiceSettings getVoiceSettings()
The updated Amazon Polly voice to use for voice interaction with the user.
public UpdateBotLocaleResult withVoiceSettings(VoiceSettings voiceSettings)
The updated Amazon Polly voice to use for voice interaction with the user.
voiceSettings
- The updated Amazon Polly voice to use for voice interaction with the user.public void setBotLocaleStatus(String botLocaleStatus)
The current status of the locale. When the bot status is Built
the locale is ready for use.
botLocaleStatus
- The current status of the locale. When the bot status is Built
the locale is ready for use.BotLocaleStatus
public String getBotLocaleStatus()
The current status of the locale. When the bot status is Built
the locale is ready for use.
Built
the locale is ready for use.BotLocaleStatus
public UpdateBotLocaleResult withBotLocaleStatus(String botLocaleStatus)
The current status of the locale. When the bot status is Built
the locale is ready for use.
botLocaleStatus
- The current status of the locale. When the bot status is Built
the locale is ready for use.BotLocaleStatus
public UpdateBotLocaleResult withBotLocaleStatus(BotLocaleStatus botLocaleStatus)
The current status of the locale. When the bot status is Built
the locale is ready for use.
botLocaleStatus
- The current status of the locale. When the bot status is Built
the locale is ready for use.BotLocaleStatus
public List<String> getFailureReasons()
If the botLocaleStatus
is Failed
, the failureReasons
field lists the
errors that occurred while building the bot.
botLocaleStatus
is Failed
, the failureReasons
field lists
the errors that occurred while building the bot.public void setFailureReasons(Collection<String> failureReasons)
If the botLocaleStatus
is Failed
, the failureReasons
field lists the
errors that occurred while building the bot.
failureReasons
- If the botLocaleStatus
is Failed
, the failureReasons
field lists
the errors that occurred while building the bot.public UpdateBotLocaleResult withFailureReasons(String... failureReasons)
If the botLocaleStatus
is Failed
, the failureReasons
field lists the
errors that occurred while building 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 the botLocaleStatus
is Failed
, the failureReasons
field lists
the errors that occurred while building the bot.public UpdateBotLocaleResult withFailureReasons(Collection<String> failureReasons)
If the botLocaleStatus
is Failed
, the failureReasons
field lists the
errors that occurred while building the bot.
failureReasons
- If the botLocaleStatus
is Failed
, the failureReasons
field lists
the errors that occurred while building the bot.public void setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the locale was created.
creationDateTime
- A timestamp of the date and time that the locale was created.public Date getCreationDateTime()
A timestamp of the date and time that the locale was created.
public UpdateBotLocaleResult withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the locale was created.
creationDateTime
- A timestamp of the date and time that the locale was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
lastUpdatedDateTime
- A timestamp of the date and time that the locale was last updated.public Date getLastUpdatedDateTime()
A timestamp of the date and time that the locale was last updated.
public UpdateBotLocaleResult withLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the locale was last updated.
lastUpdatedDateTime
- A timestamp of the date and time that the locale was last updated.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 UpdateBotLocaleResult 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 UpdateBotLocaleResult 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 generative AI features powered by Amazon Bedrock for your bot locale.
generativeAISettings
- Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.public GenerativeAISettings getGenerativeAISettings()
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
public UpdateBotLocaleResult withGenerativeAISettings(GenerativeAISettings generativeAISettings)
Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.
generativeAISettings
- Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.public String toString()
toString
in class Object
Object.toString()
public UpdateBotLocaleResult clone()