@Generated(value="software.amazon.awssdk:codegen") public final class DescribeBotLocaleResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeBotLocaleResponse.Builder,DescribeBotLocaleResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeBotLocaleResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot associated with the locale.
|
List<BotLocaleHistoryEvent> |
botLocaleHistoryEvents()
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
|
BotLocaleStatus |
botLocaleStatus()
The status of the bot.
|
String |
botLocaleStatusAsString()
The status of the bot.
|
String |
botVersion()
The identifier of the version of the bot associated with the locale.
|
static DescribeBotLocaleResponse.Builder |
builder() |
Instant |
creationDateTime()
The date and time that the locale was created.
|
String |
description()
The description of the locale.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<String> |
failureReasons()
if
botLocaleStatus is Failed, Amazon Lex explains why it failed to build the bot. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBotLocaleHistoryEvents()
For responses, this returns true if the service returned a value for the BotLocaleHistoryEvents property.
|
boolean |
hasFailureReasons()
For responses, this returns true if the service returned a value for the FailureReasons property.
|
int |
hashCode() |
Integer |
intentsCount()
The number of intents defined for the locale.
|
Instant |
lastBuildSubmittedDateTime()
The date and time that the locale was last submitted for building.
|
Instant |
lastUpdatedDateTime()
The date and time that the locale was last updated.
|
String |
localeId()
The unique identifier of the described locale.
|
String |
localeName()
The name of the locale.
|
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. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeBotLocaleResponse.Builder> |
serializableBuilderClass() |
Integer |
slotTypesCount()
The number of slot types defined for the locale.
|
DescribeBotLocaleResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VoiceSettings |
voiceSettings()
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot associated with the locale.
public final String botVersion()
The identifier of the version of the bot associated with the locale.
public final String localeId()
The unique identifier of the described locale.
public final String localeName()
The name of the locale.
public final String description()
The description of the locale.
public final 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.
AMAZON.FallbackIntent and
AMAZON.KendraSearchIntent intents in the list of possible intents for an utterance.public final VoiceSettings voiceSettings()
The Amazon Polly voice Amazon Lex uses for voice interaction with the user.
public final Integer intentsCount()
The number of intents defined for the locale.
public final Integer slotTypesCount()
The number of slot types defined for the locale.
public final BotLocaleStatus botLocaleStatus()
The status of the bot. If the status is Failed, the reasons for the failure are listed in the
failureReasons field.
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().
Failed, the reasons for the failure are listed in
the failureReasons field.BotLocaleStatuspublic final String botLocaleStatusAsString()
The status of the bot. If the status is Failed, the reasons for the failure are listed in the
failureReasons field.
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().
Failed, the reasons for the failure are listed in
the failureReasons field.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 botLocaleStatus is Failed, Amazon Lex explains why it failed to build 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, Amazon Lex explains why it failed to build the
bot.public final Instant creationDateTime()
The date and time that the locale was created.
public final Instant lastUpdatedDateTime()
The date and time that the locale was last updated.
public final Instant lastBuildSubmittedDateTime()
The date and time that the locale was last submitted for building.
public final boolean hasBotLocaleHistoryEvents()
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<BotLocaleHistoryEvent> botLocaleHistoryEvents()
History of changes, such as when a locale is used in an alias, that have taken place for the locale.
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 hasBotLocaleHistoryEvents() method.
public DescribeBotLocaleResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeBotLocaleResponse.Builder,DescribeBotLocaleResponse>toBuilder in class AwsResponsepublic static DescribeBotLocaleResponse.Builder builder()
public static Class<? extends DescribeBotLocaleResponse.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.