@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()
Returns true if the BotLocaleHistoryEvents property was specified by the sender (it may be empty), or false if
the sender did not specify the value (it will be empty).
|
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() |
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()
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.
You can use hasFailureReasons() to see if a value was sent in this field.
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()
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.
You can use hasBotLocaleHistoryEvents() to see if a value was sent in this field.
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.