* A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API * operations. *
*/ private String botId; /** ** The name specified for the bot. *
*/ private String botName; /** ** The description specified for the bot. *
*/ private String description; /** ** The IAM role specified for the bot. *
*/ private String roleArn; /** ** The data privacy settings specified for the bot. *
*/ private DataPrivacy dataPrivacy; /** ** The session idle time specified for the bot. *
*/ private Integer idleSessionTTLInSeconds; /** *
* 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.
*
* A timestamp indicating the date and time that the bot was created. *
*/ private java.util.Date creationDateTime; /** ** A list of tags associated with the bot. *
*/ private java.util.Map* A list of tags associated with the test alias for the bot. *
*/ private java.util.Map* The type of a bot that was created. *
*/ private String botType; /** ** The list of bots in a network that was created. *
*/ private java.util.List* A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API * operations. *
* * @param 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 setBotId(String botId) { this.botId = botId; } /** ** A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API * operations. *
* * @return 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() { return this.botId; } /** ** A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex API * operations. *
* * @param botId * A unique identifier for a particular bot. You use this to identify the bot when you call other Amazon Lex * API operations. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withBotId(String botId) { setBotId(botId); return this; } /** ** The name specified for the bot. *
* * @param botName * The name specified for the bot. */ public void setBotName(String botName) { this.botName = botName; } /** ** The name specified for the bot. *
* * @return The name specified for the bot. */ public String getBotName() { return this.botName; } /** ** The name specified for the bot. *
* * @param botName * The name specified for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withBotName(String botName) { setBotName(botName); return this; } /** ** The description specified for the bot. *
* * @param description * The description specified for the bot. */ public void setDescription(String description) { this.description = description; } /** ** The description specified for the bot. *
* * @return The description specified for the bot. */ public String getDescription() { return this.description; } /** ** The description specified for the bot. *
* * @param description * The description specified for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withDescription(String description) { setDescription(description); return this; } /** ** The IAM role specified for the bot. *
* * @param roleArn * The IAM role specified for the bot. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The IAM role specified for the bot. *
* * @return The IAM role specified for the bot. */ public String getRoleArn() { return this.roleArn; } /** ** The IAM role specified for the bot. *
* * @param roleArn * The IAM role specified for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** The data privacy settings specified for the bot. *
* * @param dataPrivacy * The data privacy settings specified for the bot. */ public void setDataPrivacy(DataPrivacy dataPrivacy) { this.dataPrivacy = dataPrivacy; } /** ** The data privacy settings specified for the bot. *
* * @return The data privacy settings specified for the bot. */ public DataPrivacy getDataPrivacy() { return this.dataPrivacy; } /** ** The data privacy settings specified for the bot. *
* * @param dataPrivacy * The data privacy settings specified for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withDataPrivacy(DataPrivacy dataPrivacy) { setDataPrivacy(dataPrivacy); return this; } /** ** The session idle time specified for the bot. *
* * @param idleSessionTTLInSeconds * The session idle time specified for the bot. */ public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { this.idleSessionTTLInSeconds = idleSessionTTLInSeconds; } /** ** The session idle time specified for the bot. *
* * @return The session idle time specified for the bot. */ public Integer getIdleSessionTTLInSeconds() { return this.idleSessionTTLInSeconds; } /** ** The session idle time specified for the bot. *
* * @param idleSessionTTLInSeconds * The session idle time specified for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { setIdleSessionTTLInSeconds(idleSessionTTLInSeconds); return this; } /** *
* 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.
* @see BotStatus
*/
public void setBotStatus(String botStatus) {
this.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.
*
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.
* @see BotStatus
*/
public String getBotStatus() {
return this.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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public CreateBotResult withBotStatus(String botStatus) {
setBotStatus(botStatus);
return this;
}
/**
*
* 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.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public CreateBotResult withBotStatus(BotStatus botStatus) {
this.botStatus = botStatus.toString();
return this;
}
/**
* * A timestamp indicating the date and time that the bot was created. *
* * @param creationDateTime * A timestamp indicating the date and time that the bot was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** A timestamp indicating the date and time that the bot was created. *
* * @return A timestamp indicating the date and time that the bot was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** A timestamp indicating the date and time that the bot was created. *
* * @param creationDateTime * A timestamp indicating the date and time that the bot was created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** A list of tags associated with the bot. *
* * @return A list of tags associated with the bot. */ public java.util.Map* A list of tags associated with the bot. *
* * @param botTags * A list of tags associated with the bot. */ public void setBotTags(java.util.Map* A list of tags associated with the bot. *
* * @param botTags * A list of tags associated with the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withBotTags(java.util.Map* A list of tags associated with the test alias for the bot. *
* * @return A list of tags associated with the test alias for the bot. */ public java.util.Map* A list of tags associated with the test alias for the bot. *
* * @param testBotAliasTags * A list of tags associated with the test alias for the bot. */ public void setTestBotAliasTags(java.util.Map* A list of tags associated with the test alias for the bot. *
* * @param testBotAliasTags * A list of tags associated with the test alias for the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withTestBotAliasTags(java.util.Map* The type of a bot that was created. *
* * @param botType * The type of a bot that was created. * @see BotType */ public void setBotType(String botType) { this.botType = botType; } /** ** The type of a bot that was created. *
* * @return The type of a bot that was created. * @see BotType */ public String getBotType() { return this.botType; } /** ** The type of a bot that was created. *
* * @param botType * The type of a bot that was created. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public CreateBotResult withBotType(String botType) { setBotType(botType); return this; } /** ** The type of a bot that was created. *
* * @param botType * The type of a bot that was created. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public CreateBotResult withBotType(BotType botType) { this.botType = botType.toString(); return this; } /** ** The list of bots in a network that was created. *
* * @return The list of bots in a network that was created. */ public java.util.List* The list of bots in a network that was created. *
* * @param botMembers * The list of bots in a network that was created. */ public void setBotMembers(java.util.Collection* The list of bots in a network that was created. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setBotMembers(java.util.Collection)} or {@link #withBotMembers(java.util.Collection)} if you want to * override the existing values. *
* * @param botMembers * The list of bots in a network that was created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withBotMembers(BotMember... botMembers) { if (this.botMembers == null) { setBotMembers(new java.util.ArrayList* The list of bots in a network that was created. *
* * @param botMembers * The list of bots in a network that was created. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateBotResult withBotMembers(java.util.Collection