* The unique identifier of the bot. *
*/ private String botId; /** ** The name of the bot. *
*/ private String botName; /** ** The description of the bot. *
*/ private String description; /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. *
*/ private String roleArn; /** ** Settings for managing data privacy of the bot and its conversations with users. *
*/ private DataPrivacy dataPrivacy; /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. *
*/ private Integer idleSessionTTLInSeconds; /** *
* The current status of the bot. When the status is Available
the bot is ready to be used in
* conversations with users.
*
* A timestamp of the date and time that the bot was created. *
*/ private java.util.Date creationDateTime; /** ** A timestamp of the date and time that the bot was last updated. *
*/ private java.util.Date lastUpdatedDateTime; /** ** The type of the bot that was described. *
*/ private String botType; /** ** The list of bots in the network that was described. *
*/ private java.util.List
* If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
* built.
*
* The unique identifier of the bot. *
* * @param botId * The unique identifier of the bot. */ public void setBotId(String botId) { this.botId = botId; } /** ** The unique identifier of the bot. *
* * @return The unique identifier of the bot. */ public String getBotId() { return this.botId; } /** ** The unique identifier of the bot. *
* * @param botId * The unique identifier of the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withBotId(String botId) { setBotId(botId); return this; } /** ** The name of the bot. *
* * @param botName * The name of the bot. */ public void setBotName(String botName) { this.botName = botName; } /** ** The name of the bot. *
* * @return The name of the bot. */ public String getBotName() { return this.botName; } /** ** The name of the bot. *
* * @param botName * The name of the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withBotName(String botName) { setBotName(botName); return this; } /** ** The description of the bot. *
* * @param description * The description of the bot. */ public void setDescription(String description) { this.description = description; } /** ** The description of the bot. *
* * @return The description of the bot. */ public String getDescription() { return this.description; } /** ** The description of the bot. *
* * @param description * The description of the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. *
* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. *
* * @return The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. *
* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** Settings for managing data privacy of the bot and its conversations with users. *
* * @param dataPrivacy * Settings for managing data privacy of the bot and its conversations with users. */ public void setDataPrivacy(DataPrivacy dataPrivacy) { this.dataPrivacy = dataPrivacy; } /** ** Settings for managing data privacy of the bot and its conversations with users. *
* * @return Settings for managing data privacy of the bot and its conversations with users. */ public DataPrivacy getDataPrivacy() { return this.dataPrivacy; } /** ** Settings for managing data privacy of the bot and its conversations with users. *
* * @param dataPrivacy * Settings for managing data privacy of the bot and its conversations with users. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withDataPrivacy(DataPrivacy dataPrivacy) { setDataPrivacy(dataPrivacy); return this; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. *
* * @param idleSessionTTLInSeconds * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. */ public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { this.idleSessionTTLInSeconds = idleSessionTTLInSeconds; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. *
* * @return The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. */ public Integer getIdleSessionTTLInSeconds() { return this.idleSessionTTLInSeconds; } /** ** The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. *
* * @param idleSessionTTLInSeconds * The maximum time in seconds that Amazon Lex retains the data gathered in a conversation. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { setIdleSessionTTLInSeconds(idleSessionTTLInSeconds); return this; } /** *
* The current status of the bot. When the status is Available
the bot is ready to be used in
* conversations with users.
*
Available
the bot is ready to be used in
* conversations with users.
* @see BotStatus
*/
public void setBotStatus(String botStatus) {
this.botStatus = botStatus;
}
/**
*
* The current status of the bot. When the status is Available
the bot is ready to be used in
* conversations with users.
*
Available
the bot is ready to be used in
* conversations with users.
* @see BotStatus
*/
public String getBotStatus() {
return this.botStatus;
}
/**
*
* The current status of the bot. When the status is Available
the bot is ready to be used in
* conversations with users.
*
Available
the bot is ready to be used in
* conversations with users.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public DescribeBotResult withBotStatus(String botStatus) {
setBotStatus(botStatus);
return this;
}
/**
*
* The current status of the bot. When the status is Available
the bot is ready to be used in
* conversations with users.
*
Available
the bot is ready to be used in
* conversations with users.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public DescribeBotResult withBotStatus(BotStatus botStatus) {
this.botStatus = botStatus.toString();
return this;
}
/**
* * A timestamp of the date and time that the bot was created. *
* * @param creationDateTime * A timestamp of the date and time that the bot was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** A timestamp of the date and time that the bot was created. *
* * @return A timestamp of the date and time that the bot was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** A timestamp of the date and time that the bot was created. *
* * @param creationDateTime * A timestamp of 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 DescribeBotResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** A timestamp of the date and time that the bot was last updated. *
* * @param lastUpdatedDateTime * A timestamp of the date and time that the bot was last updated. */ public void setLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { this.lastUpdatedDateTime = lastUpdatedDateTime; } /** ** A timestamp of the date and time that the bot was last updated. *
* * @return A timestamp of the date and time that the bot was last updated. */ public java.util.Date getLastUpdatedDateTime() { return this.lastUpdatedDateTime; } /** ** A timestamp of the date and time that the bot was last updated. *
* * @param lastUpdatedDateTime * A timestamp of the date and time that the bot was last updated. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withLastUpdatedDateTime(java.util.Date lastUpdatedDateTime) { setLastUpdatedDateTime(lastUpdatedDateTime); return this; } /** ** The type of the bot that was described. *
* * @param botType * The type of the bot that was described. * @see BotType */ public void setBotType(String botType) { this.botType = botType; } /** ** The type of the bot that was described. *
* * @return The type of the bot that was described. * @see BotType */ public String getBotType() { return this.botType; } /** ** The type of the bot that was described. *
* * @param botType * The type of the bot that was described. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public DescribeBotResult withBotType(String botType) { setBotType(botType); return this; } /** ** The type of the bot that was described. *
* * @param botType * The type of the bot that was described. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public DescribeBotResult withBotType(BotType botType) { this.botType = botType.toString(); return this; } /** ** The list of bots in the network that was described. *
* * @return The list of bots in the network that was described. */ public java.util.List* The list of bots in the network that was described. *
* * @param botMembers * The list of bots in the network that was described. */ public void setBotMembers(java.util.Collection* The list of bots in the network that was described. *
** 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 the network that was described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withBotMembers(BotMember... botMembers) { if (this.botMembers == null) { setBotMembers(new java.util.ArrayList* The list of bots in the network that was described. *
* * @param botMembers * The list of bots in the network that was described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotResult withBotMembers(java.util.Collection
* If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
* built.
*
botStatus
is Failed
, this contains a list of reasons that the bot
* couldn't be built.
*/
public java.util.List
* If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
* built.
*
botStatus
is Failed
, this contains a list of reasons that the bot
* couldn't be built.
*/
public void setFailureReasons(java.util.Collection
* If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
* built.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setFailureReasons(java.util.Collection)} or {@link #withFailureReasons(java.util.Collection)} if you want * to override the existing values. *
* * @param failureReasons * If thebotStatus
is Failed
, this contains a list of reasons that the bot
* couldn't be built.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBotResult withFailureReasons(String... failureReasons) {
if (this.failureReasons == null) {
setFailureReasons(new java.util.ArrayList
* If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
* built.
*
botStatus
is Failed
, this contains a list of reasons that the bot
* couldn't be built.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBotResult withFailureReasons(java.util.Collection