@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.
|
String |
getBotName()
The name of the bot that contains the version.
|
String |
getBotStatus()
The current status of the bot.
|
String |
getBotVersion()
The version of the bot to describe.
|
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.
|
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 |
setBotName(String botName)
The name of the bot that contains the version.
|
void |
setBotStatus(String botStatus)
The current status of the bot.
|
void |
setBotVersion(String botVersion)
The version of the bot to describe.
|
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 |
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 |
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 |
withBotVersion(String botVersion)
The version of the bot to describe.
|
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 |
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 to describe.
botVersion
- The version of the bot to describe.public String getBotVersion()
The version of the bot to describe.
public DescribeBotVersionResult withBotVersion(String botVersion)
The version of the bot to describe.
botVersion
- The version of the bot to describe.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 String toString()
toString
in class Object
Object.toString()
public DescribeBotVersionResult clone()