@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()
For responses, this returns true if the service returned a value for the FailureReasons property.
|
int |
hashCode() |
boolean |
hasRecommendedActions()
For responses, this returns true if the service returned a value for the RecommendedActions property.
|
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<String> |
recommendedActions()
Recommended actions to take to resolve an error in the
failureReasons field. |
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()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.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.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFailureReasons() method.
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 final boolean hasRecommendedActions()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> recommendedActions()
Recommended actions to take to resolve an error in the failureReasons field.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasRecommendedActions() method.
failureReasons field.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 © 2022. All rights reserved.