@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotImportSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Provides the bot parameters required for importing a bot.
Constructor and Description |
---|
BotImportSpecification() |
Modifier and Type | Method and Description |
---|---|
BotImportSpecification |
addBotTagsEntry(String key,
String value)
Add a single BotTags entry
|
BotImportSpecification |
addTestBotAliasTagsEntry(String key,
String value)
Add a single TestBotAliasTags entry
|
BotImportSpecification |
clearBotTagsEntries()
Removes all the entries added into BotTags.
|
BotImportSpecification |
clearTestBotAliasTagsEntries()
Removes all the entries added into TestBotAliasTags.
|
BotImportSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getBotName()
The name that Amazon Lex should use for the bot.
|
Map<String,String> |
getBotTags()
A list of tags to add to the bot.
|
DataPrivacy |
getDataPrivacy() |
Integer |
getIdleSessionTTLInSeconds()
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
|
Map<String,String> |
getTestBotAliasTags()
A list of tags to add to the test alias for a bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotName(String botName)
The name that Amazon Lex should use for the bot.
|
void |
setBotTags(Map<String,String> botTags)
A list of tags to add to the bot.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy) |
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
|
void |
setTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot.
|
String |
toString()
Returns a string representation of this object.
|
BotImportSpecification |
withBotName(String botName)
The name that Amazon Lex should use for the bot.
|
BotImportSpecification |
withBotTags(Map<String,String> botTags)
A list of tags to add to the bot.
|
BotImportSpecification |
withDataPrivacy(DataPrivacy dataPrivacy) |
BotImportSpecification |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
BotImportSpecification |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
|
BotImportSpecification |
withTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot.
|
public void setBotName(String botName)
The name that Amazon Lex should use for the bot.
botName
- The name that Amazon Lex should use for the bot.public String getBotName()
The name that Amazon Lex should use for the bot.
public BotImportSpecification withBotName(String botName)
The name that Amazon Lex should use for the bot.
botName
- The name that Amazon Lex should use for the bot.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
roleArn
- The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
public BotImportSpecification withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.
roleArn
- The Amazon Resource Name (ARN) of the IAM role used to build and run the bot.public void setDataPrivacy(DataPrivacy dataPrivacy)
dataPrivacy
- public DataPrivacy getDataPrivacy()
public BotImportSpecification withDataPrivacy(DataPrivacy dataPrivacy)
dataPrivacy
- public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
idleSessionTTLInSeconds
- The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
public Integer getIdleSessionTTLInSeconds()
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
public BotImportSpecification withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
idleSessionTTLInSeconds
- The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Lex deletes any data provided before the timeout.
You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
public Map<String,String> getBotTags()
A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.public void setBotTags(Map<String,String> botTags)
A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.
botTags
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.public BotImportSpecification withBotTags(Map<String,String> botTags)
A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.
botTags
- A list of tags to add to the bot. You can only add tags when you import a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.public BotImportSpecification addBotTagsEntry(String key, String value)
public BotImportSpecification clearBotTagsEntries()
public Map<String,String> getTestBotAliasTags()
A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the
UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.
UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.public void setTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the
UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.
testBotAliasTags
- A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't
use the UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.public BotImportSpecification withTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't use the
UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.
testBotAliasTags
- A list of tags to add to the test alias for a bot. You can only add tags when you import a bot. You can't
use the UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.public BotImportSpecification addTestBotAliasTagsEntry(String key, String value)
public BotImportSpecification clearTestBotAliasTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public BotImportSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.