@Generated(value="software.amazon.awssdk:codegen") public final class DescribeBotAliasResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeBotAliasResponse.Builder,DescribeBotAliasResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeBotAliasResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<BotAliasHistoryEvent> |
botAliasHistoryEvents()
A list of events that affect a bot alias.
|
String |
botAliasId()
The identifier of the bot alias.
|
Map<String,BotAliasLocaleSettings> |
botAliasLocaleSettings()
The locale settings that are unique to the alias.
|
String |
botAliasName()
The name of the bot alias.
|
BotAliasStatus |
botAliasStatus()
The current status of the alias.
|
String |
botAliasStatusAsString()
The current status of the alias.
|
String |
botId()
The identifier of the bot associated with the bot alias.
|
String |
botVersion()
The version of the bot associated with the bot alias.
|
static DescribeBotAliasResponse.Builder |
builder() |
ConversationLogSettings |
conversationLogSettings()
Specifics of how Amazon Lex logs text and audio conversations with the bot associated with the alias.
|
Instant |
creationDateTime()
A timestamp of the date and time that the alias was created.
|
String |
description()
The description of the bot alias.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBotAliasHistoryEvents()
For responses, this returns true if the service returned a value for the BotAliasHistoryEvents property.
|
boolean |
hasBotAliasLocaleSettings()
For responses, this returns true if the service returned a value for the BotAliasLocaleSettings property.
|
int |
hashCode() |
boolean |
hasParentBotNetworks()
For responses, this returns true if the service returned a value for the ParentBotNetworks property.
|
Instant |
lastUpdatedDateTime()
A timestamp of the date and time that the alias was last updated.
|
List<ParentBotNetwork> |
parentBotNetworks()
A list of the networks to which the bot alias you described belongs.
|
List<SdkField<?>> |
sdkFields() |
SentimentAnalysisSettings |
sentimentAnalysisSettings()
Returns the value of the SentimentAnalysisSettings property for this object.
|
static Class<? extends DescribeBotAliasResponse.Builder> |
serializableBuilderClass() |
DescribeBotAliasResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botAliasId()
The identifier of the bot alias.
public final String botAliasName()
The name of the bot alias.
public final String description()
The description of the bot alias.
public final String botVersion()
The version of the bot associated with the bot alias.
public final boolean hasBotAliasLocaleSettings()
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 Map<String,BotAliasLocaleSettings> botAliasLocaleSettings()
The locale settings that are unique to the alias.
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 hasBotAliasLocaleSettings() method.
public final ConversationLogSettings conversationLogSettings()
Specifics of how Amazon Lex logs text and audio conversations with the bot associated with the alias.
public final SentimentAnalysisSettings sentimentAnalysisSettings()
public final boolean hasBotAliasHistoryEvents()
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<BotAliasHistoryEvent> botAliasHistoryEvents()
A list of events that affect a bot alias. For example, an event is recorded when the version that the alias points to changes.
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 hasBotAliasHistoryEvents() method.
public final BotAliasStatus botAliasStatus()
The current status of the alias. When the alias is Available, the alias is ready for use with your
bot.
If the service returns an enum value that is not available in the current SDK version, botAliasStatus
will return BotAliasStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from botAliasStatusAsString().
Available, the alias is ready for use
with your bot.BotAliasStatuspublic final String botAliasStatusAsString()
The current status of the alias. When the alias is Available, the alias is ready for use with your
bot.
If the service returns an enum value that is not available in the current SDK version, botAliasStatus
will return BotAliasStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from botAliasStatusAsString().
Available, the alias is ready for use
with your bot.BotAliasStatuspublic final String botId()
The identifier of the bot associated with the bot alias.
public final Instant creationDateTime()
A timestamp of the date and time that the alias was created.
public final Instant lastUpdatedDateTime()
A timestamp of the date and time that the alias was last updated.
public final boolean hasParentBotNetworks()
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<ParentBotNetwork> parentBotNetworks()
A list of the networks to which the bot alias you described belongs.
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 hasParentBotNetworks() method.
public DescribeBotAliasResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeBotAliasResponse.Builder,DescribeBotAliasResponse>toBuilder in class AwsResponsepublic static DescribeBotAliasResponse.Builder builder()
public static Class<? extends DescribeBotAliasResponse.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 © 2023. All rights reserved.