@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBotRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBotRequest |
addBotTagsEntry(String key,
String value)
Add a single BotTags entry
|
CreateBotRequest |
addTestBotAliasTagsEntry(String key,
String value)
Add a single TestBotAliasTags entry
|
CreateBotRequest |
clearBotTagsEntries()
Removes all the entries added into BotTags.
|
CreateBotRequest |
clearTestBotAliasTagsEntries()
Removes all the entries added into TestBotAliasTags.
|
CreateBotRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<BotMember> |
getBotMembers()
The list of bot members in a network to be created.
|
String |
getBotName()
The name of the bot.
|
Map<String,String> |
getBotTags()
A list of tags to add to the bot.
|
String |
getBotType()
The type of a bot to create.
|
DataPrivacy |
getDataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
String |
getDescription()
A description of the bot.
|
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 an IAM role that has permission to access the bot.
|
Map<String,String> |
getTestBotAliasTags()
A list of tags to add to the test alias for a bot.
|
int |
hashCode() |
void |
setBotMembers(Collection<BotMember> botMembers)
The list of bot members in a network to be created.
|
void |
setBotName(String botName)
The name of the bot.
|
void |
setBotTags(Map<String,String> botTags)
A list of tags to add to the bot.
|
void |
setBotType(String botType)
The type of a bot to create.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
void |
setDescription(String description)
A description of the bot.
|
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 an IAM role that has permission to access 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.
|
CreateBotRequest |
withBotMembers(BotMember... botMembers)
The list of bot members in a network to be created.
|
CreateBotRequest |
withBotMembers(Collection<BotMember> botMembers)
The list of bot members in a network to be created.
|
CreateBotRequest |
withBotName(String botName)
The name of the bot.
|
CreateBotRequest |
withBotTags(Map<String,String> botTags)
A list of tags to add to the bot.
|
CreateBotRequest |
withBotType(BotType botType)
The type of a bot to create.
|
CreateBotRequest |
withBotType(String botType)
The type of a bot to create.
|
CreateBotRequest |
withDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
|
CreateBotRequest |
withDescription(String description)
A description of the bot.
|
CreateBotRequest |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The time, in seconds, that Amazon Lex should keep information about a user's conversation with the bot.
|
CreateBotRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
|
CreateBotRequest |
withTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags to add to the test alias for a bot.
|
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 setBotName(String botName)
The name of the bot. The bot name must be unique in the account that creates the bot.
botName
- The name of the bot. The bot name must be unique in the account that creates the bot.public String getBotName()
The name of the bot. The bot name must be unique in the account that creates the bot.
public CreateBotRequest withBotName(String botName)
The name of the bot. The bot name must be unique in the account that creates the bot.
botName
- The name of the bot. The bot name must be unique in the account that creates the bot.public void setDescription(String description)
A description of the bot. It appears in lists to help you identify a particular bot.
description
- A description of the bot. It appears in lists to help you identify a particular bot.public String getDescription()
A description of the bot. It appears in lists to help you identify a particular bot.
public CreateBotRequest withDescription(String description)
A description of the bot. It appears in lists to help you identify a particular bot.
description
- A description of the bot. It appears in lists to help you identify a particular bot.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
public CreateBotRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.public void setDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
dataPrivacy
- Provides information on additional privacy protections Amazon Lex should use with the bot's data.public DataPrivacy getDataPrivacy()
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
public CreateBotRequest withDataPrivacy(DataPrivacy dataPrivacy)
Provides information on additional privacy protections Amazon Lex should use with the bot's data.
dataPrivacy
- Provides information on additional privacy protections Amazon Lex should use with the bot's data.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 CreateBotRequest 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 create 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 create 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 create a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.public CreateBotRequest withBotTags(Map<String,String> botTags)
A list of tags to add to the bot. You can only add tags when you create 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 create a bot. You can't use the
UpdateBot
operation to update tags. To update tags, use the TagResource
operation.public CreateBotRequest addBotTagsEntry(String key, String value)
public CreateBotRequest 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 create 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 create 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 create a bot. You can't
use the UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.public CreateBotRequest 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 create 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 create a bot. You can't
use the UpdateAlias
operation to update tags. To update tags on the test alias, use the
TagResource
operation.public CreateBotRequest addTestBotAliasTagsEntry(String key, String value)
public CreateBotRequest clearTestBotAliasTagsEntries()
public void setBotType(String botType)
The type of a bot to create.
botType
- The type of a bot to create.BotType
public String getBotType()
The type of a bot to create.
BotType
public CreateBotRequest withBotType(String botType)
The type of a bot to create.
botType
- The type of a bot to create.BotType
public CreateBotRequest withBotType(BotType botType)
The type of a bot to create.
botType
- The type of a bot to create.BotType
public List<BotMember> getBotMembers()
The list of bot members in a network to be created.
public void setBotMembers(Collection<BotMember> botMembers)
The list of bot members in a network to be created.
botMembers
- The list of bot members in a network to be created.public CreateBotRequest withBotMembers(BotMember... botMembers)
The list of bot members in a network to be created.
NOTE: This method appends the values to the existing list (if any). Use
setBotMembers(java.util.Collection)
or withBotMembers(java.util.Collection)
if you want to
override the existing values.
botMembers
- The list of bot members in a network to be created.public CreateBotRequest withBotMembers(Collection<BotMember> botMembers)
The list of bot members in a network to be created.
botMembers
- The list of bot members in a network to be created.public String toString()
toString
in class Object
Object.toString()
public CreateBotRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()