@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateBotResult() |
Modifier and Type | Method and Description |
---|---|
CreateBotResult |
addBotTagsEntry(String key,
String value)
Add a single BotTags entry
|
CreateBotResult |
addTestBotAliasTagsEntry(String key,
String value)
Add a single TestBotAliasTags entry
|
CreateBotResult |
clearBotTagsEntries()
Removes all the entries added into BotTags.
|
CreateBotResult |
clearTestBotAliasTagsEntries()
Removes all the entries added into TestBotAliasTags.
|
CreateBotResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
A unique identifier for a particular bot.
|
List<BotMember> |
getBotMembers()
The list of bots in a network that was created.
|
String |
getBotName()
The name specified for the bot.
|
String |
getBotStatus()
Shows the current status of the bot.
|
Map<String,String> |
getBotTags()
A list of tags associated with the bot.
|
String |
getBotType()
The type of a bot that was created.
|
Date |
getCreationDateTime()
A timestamp indicating the date and time that the bot was created.
|
DataPrivacy |
getDataPrivacy()
The data privacy settings specified for the bot.
|
String |
getDescription()
The description specified for the bot.
|
Integer |
getIdleSessionTTLInSeconds()
The session idle time specified for the bot.
|
String |
getRoleArn()
The IAM role specified for the bot.
|
Map<String,String> |
getTestBotAliasTags()
A list of tags associated with the test alias for the bot.
|
int |
hashCode() |
void |
setBotId(String botId)
A unique identifier for a particular bot.
|
void |
setBotMembers(Collection<BotMember> botMembers)
The list of bots in a network that was created.
|
void |
setBotName(String botName)
The name specified for the bot.
|
void |
setBotStatus(String botStatus)
Shows the current status of the bot.
|
void |
setBotTags(Map<String,String> botTags)
A list of tags associated with the bot.
|
void |
setBotType(String botType)
The type of a bot that was created.
|
void |
setCreationDateTime(Date creationDateTime)
A timestamp indicating the date and time that the bot was created.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy)
The data privacy settings specified for the bot.
|
void |
setDescription(String description)
The description specified for the bot.
|
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The session idle time specified for the bot.
|
void |
setRoleArn(String roleArn)
The IAM role specified for the bot.
|
void |
setTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags associated with the test alias for the bot.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotResult |
withBotId(String botId)
A unique identifier for a particular bot.
|
CreateBotResult |
withBotMembers(BotMember... botMembers)
The list of bots in a network that was created.
|
CreateBotResult |
withBotMembers(Collection<BotMember> botMembers)
The list of bots in a network that was created.
|
CreateBotResult |
withBotName(String botName)
The name specified for the bot.
|
CreateBotResult |
withBotStatus(BotStatus botStatus)
Shows the current status of the bot.
|
CreateBotResult |
withBotStatus(String botStatus)
Shows the current status of the bot.
|
CreateBotResult |
withBotTags(Map<String,String> botTags)
A list of tags associated with the bot.
|
CreateBotResult |
withBotType(BotType botType)
The type of a bot that was created.
|
CreateBotResult |
withBotType(String botType)
The type of a bot that was created.
|
CreateBotResult |
withCreationDateTime(Date creationDateTime)
A timestamp indicating the date and time that the bot was created.
|
CreateBotResult |
withDataPrivacy(DataPrivacy dataPrivacy)
The data privacy settings specified for the bot.
|
CreateBotResult |
withDescription(String description)
The description specified for the bot.
|
CreateBotResult |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The session idle time specified for the bot.
|
CreateBotResult |
withRoleArn(String roleArn)
The IAM role specified for the bot.
|
CreateBotResult |
withTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags associated with the test alias for the bot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
botId
- A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex
API operations.public String getBotId()
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
public CreateBotResult withBotId(String botId)
A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API operations.
botId
- A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex
API operations.public void setBotName(String botName)
The name specified for the bot.
botName
- The name specified for the bot.public String getBotName()
The name specified for the bot.
public CreateBotResult withBotName(String botName)
The name specified for the bot.
botName
- The name specified for the bot.public void setDescription(String description)
The description specified for the bot.
description
- The description specified for the bot.public String getDescription()
The description specified for the bot.
public CreateBotResult withDescription(String description)
The description specified for the bot.
description
- The description specified for the bot.public void setRoleArn(String roleArn)
The IAM role specified for the bot.
roleArn
- The IAM role specified for the bot.public String getRoleArn()
The IAM role specified for the bot.
public CreateBotResult withRoleArn(String roleArn)
The IAM role specified for the bot.
roleArn
- The IAM role specified for the bot.public void setDataPrivacy(DataPrivacy dataPrivacy)
The data privacy settings specified for the bot.
dataPrivacy
- The data privacy settings specified for the bot.public DataPrivacy getDataPrivacy()
The data privacy settings specified for the bot.
public CreateBotResult withDataPrivacy(DataPrivacy dataPrivacy)
The data privacy settings specified for the bot.
dataPrivacy
- The data privacy settings specified for the bot.public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The session idle time specified for the bot.
idleSessionTTLInSeconds
- The session idle time specified for the bot.public Integer getIdleSessionTTLInSeconds()
The session idle time specified for the bot.
public CreateBotResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The session idle time specified for the bot.
idleSessionTTLInSeconds
- The session idle time specified for the bot.public void setBotStatus(String botStatus)
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read
for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.
botStatus
- Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is
read for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.BotStatus
public String getBotStatus()
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read
for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.
Creating
status. Once the bot
is read for use, it changes to the Available
status. After the bot is created, you can use
the DRAFT
version of the bot.BotStatus
public CreateBotResult withBotStatus(String botStatus)
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read
for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.
botStatus
- Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is
read for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.BotStatus
public CreateBotResult withBotStatus(BotStatus botStatus)
Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is read
for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.
botStatus
- Shows the current status of the bot. The bot is first in the Creating
status. Once the bot is
read for use, it changes to the Available
status. After the bot is created, you can use the
DRAFT
version of the bot.BotStatus
public void setCreationDateTime(Date creationDateTime)
A timestamp indicating the date and time that the bot was created.
creationDateTime
- A timestamp indicating the date and time that the bot was created.public Date getCreationDateTime()
A timestamp indicating the date and time that the bot was created.
public CreateBotResult withCreationDateTime(Date creationDateTime)
A timestamp indicating the date and time that the bot was created.
creationDateTime
- A timestamp indicating the date and time that the bot was created.public Map<String,String> getBotTags()
A list of tags associated with the bot.
public void setBotTags(Map<String,String> botTags)
A list of tags associated with the bot.
botTags
- A list of tags associated with the bot.public CreateBotResult withBotTags(Map<String,String> botTags)
A list of tags associated with the bot.
botTags
- A list of tags associated with the bot.public CreateBotResult addBotTagsEntry(String key, String value)
public CreateBotResult clearBotTagsEntries()
public Map<String,String> getTestBotAliasTags()
A list of tags associated with the test alias for the bot.
public void setTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags associated with the test alias for the bot.
testBotAliasTags
- A list of tags associated with the test alias for the bot.public CreateBotResult withTestBotAliasTags(Map<String,String> testBotAliasTags)
A list of tags associated with the test alias for the bot.
testBotAliasTags
- A list of tags associated with the test alias for the bot.public CreateBotResult addTestBotAliasTagsEntry(String key, String value)
public CreateBotResult clearTestBotAliasTagsEntries()
public void setBotType(String botType)
The type of a bot that was created.
botType
- The type of a bot that was created.BotType
public String getBotType()
The type of a bot that was created.
BotType
public CreateBotResult withBotType(String botType)
The type of a bot that was created.
botType
- The type of a bot that was created.BotType
public CreateBotResult withBotType(BotType botType)
The type of a bot that was created.
botType
- The type of a bot that was created.BotType
public List<BotMember> getBotMembers()
The list of bots in a network that was created.
public void setBotMembers(Collection<BotMember> botMembers)
The list of bots in a network that was created.
botMembers
- The list of bots in a network that was created.public CreateBotResult withBotMembers(BotMember... botMembers)
The list of bots in a network that was 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 bots in a network that was created.public CreateBotResult withBotMembers(Collection<BotMember> botMembers)
The list of bots in a network that was created.
botMembers
- The list of bots in a network that was created.public String toString()
toString
in class Object
Object.toString()
public CreateBotResult clone()