@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBotVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBotVersionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBotVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot that contains the version.
|
List<BotMember> |
getBotMembers()
The members of bot network in the version that was described.
|
String |
getBotName()
The name of the bot that contains the version.
|
String |
getBotStatus()
The current status of the bot.
|
String |
getBotType()
The type of the bot in the version that was described.
|
String |
getBotVersion()
The version of the bot that was described.
|
Date |
getCreationDateTime()
A timestamp of the date and time that the bot version was created.
|
DataPrivacy |
getDataPrivacy()
Data privacy settings for the bot version.
|
String |
getDescription()
The description specified for the bot.
|
List<String> |
getFailureReasons()
If the
botStatus is Failed , this contains a list of reasons that the version couldn't
be built. |
Integer |
getIdleSessionTTLInSeconds()
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
|
List<ParentBotNetwork> |
getParentBotNetworks()
A list of the networks to which the bot version you described belongs.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot that contains the version.
|
void |
setBotMembers(Collection<BotMember> botMembers)
The members of bot network in the version that was described.
|
void |
setBotName(String botName)
The name of the bot that contains the version.
|
void |
setBotStatus(String botStatus)
The current status of the bot.
|
void |
setBotType(String botType)
The type of the bot in the version that was described.
|
void |
setBotVersion(String botVersion)
The version of the bot that was described.
|
void |
setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot version was created.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy)
Data privacy settings for the bot version.
|
void |
setDescription(String description)
The description specified for the bot.
|
void |
setFailureReasons(Collection<String> failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the version couldn't
be built. |
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
|
void |
setParentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)
A list of the networks to which the bot version you described belongs.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
|
String |
toString()
Returns a string representation of this object.
|
DescribeBotVersionResult |
withBotId(String botId)
The identifier of the bot that contains the version.
|
DescribeBotVersionResult |
withBotMembers(BotMember... botMembers)
The members of bot network in the version that was described.
|
DescribeBotVersionResult |
withBotMembers(Collection<BotMember> botMembers)
The members of bot network in the version that was described.
|
DescribeBotVersionResult |
withBotName(String botName)
The name of the bot that contains the version.
|
DescribeBotVersionResult |
withBotStatus(BotStatus botStatus)
The current status of the bot.
|
DescribeBotVersionResult |
withBotStatus(String botStatus)
The current status of the bot.
|
DescribeBotVersionResult |
withBotType(BotType botType)
The type of the bot in the version that was described.
|
DescribeBotVersionResult |
withBotType(String botType)
The type of the bot in the version that was described.
|
DescribeBotVersionResult |
withBotVersion(String botVersion)
The version of the bot that was described.
|
DescribeBotVersionResult |
withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot version was created.
|
DescribeBotVersionResult |
withDataPrivacy(DataPrivacy dataPrivacy)
Data privacy settings for the bot version.
|
DescribeBotVersionResult |
withDescription(String description)
The description specified for the bot.
|
DescribeBotVersionResult |
withFailureReasons(Collection<String> failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the version couldn't
be built. |
DescribeBotVersionResult |
withFailureReasons(String... failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the version couldn't
be built. |
DescribeBotVersionResult |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
|
DescribeBotVersionResult |
withParentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)
A list of the networks to which the bot version you described belongs.
|
DescribeBotVersionResult |
withParentBotNetworks(ParentBotNetwork... parentBotNetworks)
A list of the networks to which the bot version you described belongs.
|
DescribeBotVersionResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier of the bot that contains the version.
botId
- The identifier of the bot that contains the version.public String getBotId()
The identifier of the bot that contains the version.
public DescribeBotVersionResult withBotId(String botId)
The identifier of the bot that contains the version.
botId
- The identifier of the bot that contains the version.public void setBotName(String botName)
The name of the bot that contains the version.
botName
- The name of the bot that contains the version.public String getBotName()
The name of the bot that contains the version.
public DescribeBotVersionResult withBotName(String botName)
The name of the bot that contains the version.
botName
- The name of the bot that contains the version.public void setBotVersion(String botVersion)
The version of the bot that was described.
botVersion
- The version of the bot that was described.public String getBotVersion()
The version of the bot that was described.
public DescribeBotVersionResult withBotVersion(String botVersion)
The version of the bot that was described.
botVersion
- The version of the bot that was described.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 DescribeBotVersionResult withDescription(String description)
The description specified for the bot.
description
- The description specified for the bot.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
public DescribeBotVersionResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot version.public void setDataPrivacy(DataPrivacy dataPrivacy)
Data privacy settings for the bot version.
dataPrivacy
- Data privacy settings for the bot version.public DataPrivacy getDataPrivacy()
Data privacy settings for the bot version.
public DescribeBotVersionResult withDataPrivacy(DataPrivacy dataPrivacy)
Data privacy settings for the bot version.
dataPrivacy
- Data privacy settings for the bot version.public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
idleSessionTTLInSeconds
- The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.public Integer getIdleSessionTTLInSeconds()
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
public DescribeBotVersionResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.
idleSessionTTLInSeconds
- The number of seconds that a session with the bot remains active before it is discarded by Amazon Lex.public void setBotStatus(String botStatus)
The current status of the bot. When the status is Available
, the bot version is ready for use.
botStatus
- The current status of the bot. When the status is Available
, the bot version is ready for
use.BotStatus
public String getBotStatus()
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.BotStatus
public DescribeBotVersionResult withBotStatus(String botStatus)
The current status of the bot. When the status is Available
, the bot version is ready for use.
botStatus
- The current status of the bot. When the status is Available
, the bot version is ready for
use.BotStatus
public DescribeBotVersionResult withBotStatus(BotStatus botStatus)
The current status of the bot. When the status is Available
, the bot version is ready for use.
botStatus
- The current status of the bot. When the status is Available
, the bot version is ready for
use.BotStatus
public List<String> getFailureReasons()
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(Collection<String> failureReasons)
If the botStatus
is Failed
, this contains a list of reasons that the version couldn't
be built.
failureReasons
- If the botStatus
is Failed
, this contains a list of reasons that the version
couldn't be built.public DescribeBotVersionResult withFailureReasons(String... failureReasons)
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
setFailureReasons(java.util.Collection)
or withFailureReasons(java.util.Collection)
if you want
to override the existing values.
failureReasons
- If the botStatus
is Failed
, this contains a list of reasons that the version
couldn't be built.public DescribeBotVersionResult withFailureReasons(Collection<String> failureReasons)
If the botStatus
is Failed
, this contains a list of reasons that the version couldn't
be built.
failureReasons
- If the botStatus
is Failed
, this contains a list of reasons that the version
couldn't be built.public void setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot version was created.
creationDateTime
- A timestamp of the date and time that the bot version was created.public Date getCreationDateTime()
A timestamp of the date and time that the bot version was created.
public DescribeBotVersionResult withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot version was created.
creationDateTime
- A timestamp of the date and time that the bot version was created.public List<ParentBotNetwork> getParentBotNetworks()
A list of the networks to which the bot version you described belongs.
public void setParentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)
A list of the networks to which the bot version you described belongs.
parentBotNetworks
- A list of the networks to which the bot version you described belongs.public DescribeBotVersionResult withParentBotNetworks(ParentBotNetwork... parentBotNetworks)
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
setParentBotNetworks(java.util.Collection)
or withParentBotNetworks(java.util.Collection)
if
you want to override the existing values.
parentBotNetworks
- A list of the networks to which the bot version you described belongs.public DescribeBotVersionResult withParentBotNetworks(Collection<ParentBotNetwork> parentBotNetworks)
A list of the networks to which the bot version you described belongs.
parentBotNetworks
- A list of the networks to which the bot version you described belongs.public void setBotType(String botType)
The type of the bot in the version that was described.
botType
- The type of the bot in the version that was described.BotType
public String getBotType()
The type of the bot in the version that was described.
BotType
public DescribeBotVersionResult withBotType(String botType)
The type of the bot in the version that was described.
botType
- The type of the bot in the version that was described.BotType
public DescribeBotVersionResult withBotType(BotType botType)
The type of the bot in the version that was described.
botType
- The type of the bot in the version that was described.BotType
public List<BotMember> getBotMembers()
The members of bot network in the version that was described.
public void setBotMembers(Collection<BotMember> botMembers)
The members of bot network in the version that was described.
botMembers
- The members of bot network in the version that was described.public DescribeBotVersionResult withBotMembers(BotMember... botMembers)
The members of bot network in the version that was described.
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 members of bot network in the version that was described.public DescribeBotVersionResult withBotMembers(Collection<BotMember> botMembers)
The members of bot network in the version that was described.
botMembers
- The members of bot network in the version that was described.public String toString()
toString
in class Object
Object.toString()
public DescribeBotVersionResult clone()