@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotAliasRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBotAliasRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBotAliasRequest |
addBotAliasLocaleSettingsEntry(String key,
BotAliasLocaleSettings value)
Add a single BotAliasLocaleSettings entry
|
CreateBotAliasRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateBotAliasRequest |
clearBotAliasLocaleSettingsEntries()
Removes all the entries added into BotAliasLocaleSettings.
|
CreateBotAliasRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateBotAliasRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Map<String,BotAliasLocaleSettings> |
getBotAliasLocaleSettings()
Maps configuration information to a specific locale.
|
String |
getBotAliasName()
The alias to create.
|
String |
getBotId()
The unique identifier of the bot that the alias applies to.
|
String |
getBotVersion()
The version of the bot that this alias points to.
|
ConversationLogSettings |
getConversationLogSettings()
Specifies whether Amazon Lex logs text and audio for a conversation with the bot.
|
String |
getDescription()
A description of the alias.
|
SentimentAnalysisSettings |
getSentimentAnalysisSettings() |
Map<String,String> |
getTags()
A list of tags to add to the bot alias.
|
int |
hashCode() |
void |
setBotAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)
Maps configuration information to a specific locale.
|
void |
setBotAliasName(String botAliasName)
The alias to create.
|
void |
setBotId(String botId)
The unique identifier of the bot that the alias applies to.
|
void |
setBotVersion(String botVersion)
The version of the bot that this alias points to.
|
void |
setConversationLogSettings(ConversationLogSettings conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for a conversation with the bot.
|
void |
setDescription(String description)
A description of the alias.
|
void |
setSentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings) |
void |
setTags(Map<String,String> tags)
A list of tags to add to the bot alias.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotAliasRequest |
withBotAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)
Maps configuration information to a specific locale.
|
CreateBotAliasRequest |
withBotAliasName(String botAliasName)
The alias to create.
|
CreateBotAliasRequest |
withBotId(String botId)
The unique identifier of the bot that the alias applies to.
|
CreateBotAliasRequest |
withBotVersion(String botVersion)
The version of the bot that this alias points to.
|
CreateBotAliasRequest |
withConversationLogSettings(ConversationLogSettings conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for a conversation with the bot.
|
CreateBotAliasRequest |
withDescription(String description)
A description of the alias.
|
CreateBotAliasRequest |
withSentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings) |
CreateBotAliasRequest |
withTags(Map<String,String> tags)
A list of tags to add to the bot alias.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotAliasName(String botAliasName)
The alias to create. The name must be unique for the bot.
botAliasName
- The alias to create. The name must be unique for the bot.public String getBotAliasName()
The alias to create. The name must be unique for the bot.
public CreateBotAliasRequest withBotAliasName(String botAliasName)
The alias to create. The name must be unique for the bot.
botAliasName
- The alias to create. The name must be unique for the bot.public void setDescription(String description)
A description of the alias. Use this description to help identify the alias.
description
- A description of the alias. Use this description to help identify the alias.public String getDescription()
A description of the alias. Use this description to help identify the alias.
public CreateBotAliasRequest withDescription(String description)
A description of the alias. Use this description to help identify the alias.
description
- A description of the alias. Use this description to help identify the alias.public void setBotVersion(String botVersion)
The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
botVersion
- The version of the bot that this alias points to. You can use the UpdateBotAlias
operation to change the bot version associated with the alias.public String getBotVersion()
The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
public CreateBotAliasRequest withBotVersion(String botVersion)
The version of the bot that this alias points to. You can use the UpdateBotAlias operation to change the bot version associated with the alias.
botVersion
- The version of the bot that this alias points to. You can use the UpdateBotAlias
operation to change the bot version associated with the alias.public Map<String,BotAliasLocaleSettings> getBotAliasLocaleSettings()
Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
public void setBotAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)
Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
botAliasLocaleSettings
- Maps configuration information to a specific locale. You can use this parameter to specify a specific
Lambda function to run different functions in different locales.public CreateBotAliasRequest withBotAliasLocaleSettings(Map<String,BotAliasLocaleSettings> botAliasLocaleSettings)
Maps configuration information to a specific locale. You can use this parameter to specify a specific Lambda function to run different functions in different locales.
botAliasLocaleSettings
- Maps configuration information to a specific locale. You can use this parameter to specify a specific
Lambda function to run different functions in different locales.public CreateBotAliasRequest addBotAliasLocaleSettingsEntry(String key, BotAliasLocaleSettings value)
public CreateBotAliasRequest clearBotAliasLocaleSettingsEntries()
public void setConversationLogSettings(ConversationLogSettings conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
conversationLogSettings
- Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable
conversation logs, text logs store text input, transcripts of audio input, and associated metadata in
Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.public ConversationLogSettings getConversationLogSettings()
Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
public CreateBotAliasRequest withConversationLogSettings(ConversationLogSettings conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.
conversationLogSettings
- Specifies whether Amazon Lex logs text and audio for a conversation with the bot. When you enable
conversation logs, text logs store text input, transcripts of audio input, and associated metadata in
Amazon CloudWatch Logs. Audio logs store audio input in Amazon S3.public void setSentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings)
sentimentAnalysisSettings
- public SentimentAnalysisSettings getSentimentAnalysisSettings()
public CreateBotAliasRequest withSentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings)
sentimentAnalysisSettings
- public void setBotId(String botId)
The unique identifier of the bot that the alias applies to.
botId
- The unique identifier of the bot that the alias applies to.public String getBotId()
The unique identifier of the bot that the alias applies to.
public CreateBotAliasRequest withBotId(String botId)
The unique identifier of the bot that the alias applies to.
botId
- The unique identifier of the bot that the alias applies to.public Map<String,String> getTags()
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.public void setTags(Map<String,String> tags)
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.
tags
- A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.public CreateBotAliasRequest withTags(Map<String,String> tags)
A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.
tags
- A list of tags to add to the bot alias. You can only add tags when you create an alias, you can't use the
UpdateBotAlias
operation to update the tags on a bot alias. To update tags, use the
TagResource
operation.public CreateBotAliasRequest addTagsEntry(String key, String value)
public CreateBotAliasRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateBotAliasRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()