* The identifier of the bot that contains the version. *
*/ private String botId; /** ** The name of the bot that contains the version. *
*/ private String botName; /** ** The version of the bot that was described. *
*/ private String botVersion; /** ** The description specified for the bot. *
*/ private String description; /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. *
*/ private String roleArn; /** ** Data privacy settings for the bot version. *
*/ private DataPrivacy dataPrivacy; /** ** The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. *
*/ private Integer idleSessionTTLInSeconds; /** *
* The current status of the bot. When the status is Available
, the bot version is ready for use.
*
* If the botStatus
is Failed
, this contains a list of reasons that the version couldn't
* be built.
*
* A timestamp of the date and time that the bot version was created. *
*/ private java.util.Date creationDateTime; /** ** A list of the networks to which the bot version you described belongs. *
*/ private java.util.List* The type of the bot in the version that was described. *
*/ private String botType; /** ** The members of bot network in the version that was described. *
*/ private java.util.List* The identifier of the bot that contains the version. *
* * @param botId * The identifier of the bot that contains the version. */ public void setBotId(String botId) { this.botId = botId; } /** ** The identifier of the bot that contains the version. *
* * @return The identifier of the bot that contains the version. */ public String getBotId() { return this.botId; } /** ** The identifier of the bot that contains the version. *
* * @param botId * The identifier of the bot that contains the version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withBotId(String botId) { setBotId(botId); return this; } /** ** The name of the bot that contains the version. *
* * @param botName * The name of the bot that contains the version. */ public void setBotName(String botName) { this.botName = botName; } /** ** The name of the bot that contains the version. *
* * @return The name of the bot that contains the version. */ public String getBotName() { return this.botName; } /** ** The name of the bot that contains the version. *
* * @param botName * The name of the bot that contains the version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withBotName(String botName) { setBotName(botName); return this; } /** ** The version of the bot that was described. *
* * @param botVersion * The version of the bot that was described. */ public void setBotVersion(String botVersion) { this.botVersion = botVersion; } /** ** The version of the bot that was described. *
* * @return The version of the bot that was described. */ public String getBotVersion() { return this.botVersion; } /** ** The version of the bot that was described. *
* * @param botVersion * The version of the bot that was described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withBotVersion(String botVersion) { setBotVersion(botVersion); 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 DescribeBotVersionResult withDescription(String description) { setDescription(description); return this; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. *
* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. *
* * @return The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. */ public String getRoleArn() { return this.roleArn; } /** ** The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. *
* * @param roleArn * The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** Data privacy settings for the bot version. *
* * @param dataPrivacy * Data privacy settings for the bot version. */ public void setDataPrivacy(DataPrivacy dataPrivacy) { this.dataPrivacy = dataPrivacy; } /** ** Data privacy settings for the bot version. *
* * @return Data privacy settings for the bot version. */ public DataPrivacy getDataPrivacy() { return this.dataPrivacy; } /** ** Data privacy settings for the bot version. *
* * @param dataPrivacy * Data privacy settings for the bot version. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withDataPrivacy(DataPrivacy dataPrivacy) { setDataPrivacy(dataPrivacy); return this; } /** ** The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. *
* * @param idleSessionTTLInSeconds * The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. */ public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { this.idleSessionTTLInSeconds = idleSessionTTLInSeconds; } /** ** The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. *
* * @return The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. */ public Integer getIdleSessionTTLInSeconds() { return this.idleSessionTTLInSeconds; } /** ** The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. *
* * @param idleSessionTTLInSeconds * The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds) { setIdleSessionTTLInSeconds(idleSessionTTLInSeconds); return this; } /** *
* The current status of the bot. When the status is Available
, the bot version is ready for use.
*
Available
, the bot version is ready for
* use.
* @see BotStatus
*/
public void setBotStatus(String botStatus) {
this.botStatus = botStatus;
}
/**
*
* The current status of the bot. When the status is Available
, the bot version is ready for use.
*
Available
, the bot version is ready for
* use.
* @see BotStatus
*/
public String getBotStatus() {
return this.botStatus;
}
/**
*
* The current status of the bot. When the status is Available
, the bot version is ready for use.
*
Available
, the bot version is ready for
* use.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public DescribeBotVersionResult withBotStatus(String botStatus) {
setBotStatus(botStatus);
return this;
}
/**
*
* The current status of the bot. When the status is Available
, the bot version is ready for use.
*
Available
, the bot version is ready for
* use.
* @return Returns a reference to this object so that method calls can be chained together.
* @see BotStatus
*/
public DescribeBotVersionResult withBotStatus(BotStatus botStatus) {
this.botStatus = botStatus.toString();
return this;
}
/**
*
* If the botStatus
is Failed
, this contains a list of reasons that the version couldn't
* be built.
*
botStatus
is Failed
, this contains a list of reasons that the version
* couldn't be built.
*/
public java.util.List
* If the botStatus
is Failed
, this contains a list of reasons that the version couldn't
* be built.
*
botStatus
is Failed
, this contains a list of reasons that the version
* couldn't be built.
*/
public void setFailureReasons(java.util.Collection
* If the botStatus
is Failed
, this contains a list of reasons that the version 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 version
* couldn't be built.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBotVersionResult 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 version couldn't
* be built.
*
botStatus
is Failed
, this contains a list of reasons that the version
* couldn't be built.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeBotVersionResult withFailureReasons(java.util.Collection* A timestamp of the date and time that the bot version was created. *
* * @param creationDateTime * A timestamp of the date and time that the bot version was created. */ public void setCreationDateTime(java.util.Date creationDateTime) { this.creationDateTime = creationDateTime; } /** ** A timestamp of the date and time that the bot version was created. *
* * @return A timestamp of the date and time that the bot version was created. */ public java.util.Date getCreationDateTime() { return this.creationDateTime; } /** ** A timestamp of the date and time that the bot version was created. *
* * @param creationDateTime * A timestamp of the date and time that the bot version was created. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withCreationDateTime(java.util.Date creationDateTime) { setCreationDateTime(creationDateTime); return this; } /** ** A list of the networks to which the bot version you described belongs. *
* * @return A list of the networks to which the bot version you described belongs. */ public java.util.List* A list of the networks to which the bot version you described belongs. *
* * @param parentBotNetworks * A list of the networks to which the bot version you described belongs. */ public void setParentBotNetworks(java.util.Collection* A list of the networks to which the bot version you described belongs. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setParentBotNetworks(java.util.Collection)} or {@link #withParentBotNetworks(java.util.Collection)} if * you want to override the existing values. *
* * @param parentBotNetworks * A list of the networks to which the bot version you described belongs. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withParentBotNetworks(ParentBotNetwork... parentBotNetworks) { if (this.parentBotNetworks == null) { setParentBotNetworks(new java.util.ArrayList* A list of the networks to which the bot version you described belongs. *
* * @param parentBotNetworks * A list of the networks to which the bot version you described belongs. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withParentBotNetworks(java.util.Collection* The type of the bot in the version that was described. *
* * @param botType * The type of the bot in the version that was described. * @see BotType */ public void setBotType(String botType) { this.botType = botType; } /** ** The type of the bot in the version that was described. *
* * @return The type of the bot in the version that was described. * @see BotType */ public String getBotType() { return this.botType; } /** ** The type of the bot in the version that was described. *
* * @param botType * The type of the bot in the version that was described. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public DescribeBotVersionResult withBotType(String botType) { setBotType(botType); return this; } /** ** The type of the bot in the version that was described. *
* * @param botType * The type of the bot in the version that was described. * @return Returns a reference to this object so that method calls can be chained together. * @see BotType */ public DescribeBotVersionResult withBotType(BotType botType) { this.botType = botType.toString(); return this; } /** ** The members of bot network in the version that was described. *
* * @return The members of bot network in the version that was described. */ public java.util.List* The members of bot network in the version that was described. *
* * @param botMembers * The members of bot network in the version that was described. */ public void setBotMembers(java.util.Collection* The members of bot network in the version 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 members of bot network in the version that was described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withBotMembers(BotMember... botMembers) { if (this.botMembers == null) { setBotMembers(new java.util.ArrayList* The members of bot network in the version that was described. *
* * @param botMembers * The members of bot network in the version that was described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeBotVersionResult withBotMembers(java.util.Collection