@Generated(value="software.amazon.awssdk:codegen") public final class CreateBotAliasResponse extends LexModelsV2Response implements ToCopyableBuilder<CreateBotAliasResponse.Builder,CreateBotAliasResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateBotAliasResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botAliasId()
The unique identifier of the bot alias.
|
Map<String,BotAliasLocaleSettings> |
botAliasLocaleSettings()
Configuration information for a specific locale.
|
String |
botAliasName()
The name specified for the bot alias.
|
BotAliasStatus |
botAliasStatus()
The current status of the alias.
|
String |
botAliasStatusAsString()
The current status of the alias.
|
String |
botId()
The unique identifier of the bot that this alias applies to.
|
String |
botVersion()
The version of the bot associated with this alias.
|
static CreateBotAliasResponse.Builder |
builder() |
ConversationLogSettings |
conversationLogSettings()
The conversation log settings specified for the alias.
|
Instant |
creationDateTime()
A Unix timestamp indicating the date and time that the bot alias was created.
|
String |
description()
The description specified for the bot alias.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasBotAliasLocaleSettings()
For responses, this returns true if the service returned a value for the BotAliasLocaleSettings property.
|
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<SdkField<?>> |
sdkFields() |
SentimentAnalysisSettings |
sentimentAnalysisSettings()
Returns the value of the SentimentAnalysisSettings property for this object.
|
static Class<? extends CreateBotAliasResponse.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A list of tags associated with the bot alias.
|
CreateBotAliasResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botAliasId()
The unique identifier of the bot alias.
public final String botAliasName()
The name specified for the bot alias.
public final String description()
The description specified for the bot alias.
public final String botVersion()
The version of the bot associated with this 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()
Configuration information for a specific 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 hasBotAliasLocaleSettings() method.
public final ConversationLogSettings conversationLogSettings()
The conversation log settings specified for the alias.
public final SentimentAnalysisSettings sentimentAnalysisSettings()
public final BotAliasStatus botAliasStatus()
The current status of the alias. The alias is first put into the Creating state. When the alias is
ready to be used, it is put into the Available state. You can use the DescribeBotAlias
operation to get the current state of an alias.
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().
Creating state. When the
alias is ready to be used, it is put into the Available state. You can use the
DescribeBotAlias operation to get the current state of an alias.BotAliasStatuspublic final String botAliasStatusAsString()
The current status of the alias. The alias is first put into the Creating state. When the alias is
ready to be used, it is put into the Available state. You can use the DescribeBotAlias
operation to get the current state of an alias.
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().
Creating state. When the
alias is ready to be used, it is put into the Available state. You can use the
DescribeBotAlias operation to get the current state of an alias.BotAliasStatuspublic final String botId()
The unique identifier of the bot that this alias applies to.
public final Instant creationDateTime()
A Unix timestamp indicating the date and time that the bot alias was created.
public final boolean hasTags()
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,String> tags()
A list of tags associated with the bot 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 hasTags() method.
public CreateBotAliasResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateBotAliasResponse.Builder,CreateBotAliasResponse>toBuilder in class AwsResponsepublic static CreateBotAliasResponse.Builder builder()
public static Class<? extends CreateBotAliasResponse.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.