@Generated(value="software.amazon.awssdk:codegen") public final class UpdateBotLocaleResponse extends LexModelsV2Response implements ToCopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateBotLocaleResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot that contains the updated locale.
|
BotLocaleStatus |
botLocaleStatus()
The current status of the locale.
|
String |
botLocaleStatusAsString()
The current status of the locale.
|
String |
botVersion()
The version of the bot that contains the updated locale.
|
static UpdateBotLocaleResponse.Builder |
builder() |
Instant |
creationDateTime()
A timestamp of the date and time that the locale was created.
|
String |
description()
The updated description of the locale.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
failureReasons()
If the
botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFailureReasons()
Returns true if the FailureReasons property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
int |
hashCode() |
Instant |
lastUpdatedDateTime()
A timestamp of the date and time that the locale was last updated.
|
String |
localeId()
The language and locale of the updated bot locale.
|
String |
localeName()
The updated locale name for the locale.
|
Double |
nluIntentConfidenceThreshold()
The updated confidence threshold for inserting the
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateBotLocaleResponse.Builder> |
serializableBuilderClass() |
UpdateBotLocaleResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoiceSettings |
voiceSettings()
The updated Amazon Polly voice to use for voice interaction with the user.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot that contains the updated locale.
public final String botVersion()
The version of the bot that contains the updated locale.
public final String localeId()
The language and locale of the updated bot locale.
public final String localeName()
The updated locale name for the locale.
public final String description()
The updated description of the locale.
public final Double nluIntentConfidenceThreshold()
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 final VoiceSettings voiceSettings()
The updated Amazon Polly voice to use for voice interaction with the user.
public final BotLocaleStatus botLocaleStatus()
The current status of the locale. When the bot status is Built the locale is ready for use.
If the service returns an enum value that is not available in the current SDK version, botLocaleStatus
will return BotLocaleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from botLocaleStatusAsString().
Built the locale is ready for use.BotLocaleStatuspublic final String botLocaleStatusAsString()
The current status of the locale. When the bot status is Built the locale is ready for use.
If the service returns an enum value that is not available in the current SDK version, botLocaleStatus
will return BotLocaleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from botLocaleStatusAsString().
Built the locale is ready for use.BotLocaleStatuspublic final boolean hasFailureReasons()
public final List<String> failureReasons()
If the botLocaleStatus is Failed, the failureReasons field lists the
errors that occurred while building the bot.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFailureReasons() to see if a value was sent in this field.
botLocaleStatus is Failed, the failureReasons field lists
the errors that occurred while building the bot.public final Instant creationDateTime()
A timestamp of the date and time that the locale was created.
public final Instant lastUpdatedDateTime()
A timestamp of the date and time that the locale was last updated.
public UpdateBotLocaleResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateBotLocaleResponse.Builder,UpdateBotLocaleResponse>toBuilder in class AwsResponsepublic static UpdateBotLocaleResponse.Builder builder()
public static Class<? extends UpdateBotLocaleResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2021. All rights reserved.