@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeBotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeBotResult() |
Modifier and Type | Method and Description |
---|---|
DescribeBotResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier of the bot.
|
List<BotMember> |
getBotMembers()
The list of bots in the network that was described.
|
String |
getBotName()
The name of the bot.
|
String |
getBotStatus()
The current status of the bot.
|
String |
getBotType()
The type of the bot that was described.
|
Date |
getCreationDateTime()
A timestamp of the date and time that the bot was created.
|
DataPrivacy |
getDataPrivacy()
Settings for managing data privacy of the bot and its conversations with users.
|
String |
getDescription()
The description of the bot.
|
List<String> |
getFailureReasons()
If the
botStatus is Failed , this contains a list of reasons that the bot couldn't be
built. |
Integer |
getIdleSessionTTLInSeconds()
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
Date |
getLastUpdatedDateTime()
A timestamp of the date and time that the bot was last updated.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
|
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier of the bot.
|
void |
setBotMembers(Collection<BotMember> botMembers)
The list of bots in the network that was described.
|
void |
setBotName(String botName)
The name of the bot.
|
void |
setBotStatus(String botStatus)
The current status of the bot.
|
void |
setBotType(String botType)
The type of the bot that was described.
|
void |
setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot was created.
|
void |
setDataPrivacy(DataPrivacy dataPrivacy)
Settings for managing data privacy of the bot and its conversations with users.
|
void |
setDescription(String description)
The description of the bot.
|
void |
setFailureReasons(Collection<String> failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the bot couldn't be
built. |
void |
setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
void |
setLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the bot was last updated.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
|
String |
toString()
Returns a string representation of this object.
|
DescribeBotResult |
withBotId(String botId)
The unique identifier of the bot.
|
DescribeBotResult |
withBotMembers(BotMember... botMembers)
The list of bots in the network that was described.
|
DescribeBotResult |
withBotMembers(Collection<BotMember> botMembers)
The list of bots in the network that was described.
|
DescribeBotResult |
withBotName(String botName)
The name of the bot.
|
DescribeBotResult |
withBotStatus(BotStatus botStatus)
The current status of the bot.
|
DescribeBotResult |
withBotStatus(String botStatus)
The current status of the bot.
|
DescribeBotResult |
withBotType(BotType botType)
The type of the bot that was described.
|
DescribeBotResult |
withBotType(String botType)
The type of the bot that was described.
|
DescribeBotResult |
withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot was created.
|
DescribeBotResult |
withDataPrivacy(DataPrivacy dataPrivacy)
Settings for managing data privacy of the bot and its conversations with users.
|
DescribeBotResult |
withDescription(String description)
The description of the bot.
|
DescribeBotResult |
withFailureReasons(Collection<String> failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the bot couldn't be
built. |
DescribeBotResult |
withFailureReasons(String... failureReasons)
If the
botStatus is Failed , this contains a list of reasons that the bot couldn't be
built. |
DescribeBotResult |
withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
|
DescribeBotResult |
withLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the bot was last updated.
|
DescribeBotResult |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The unique identifier of the bot.
botId
- The unique identifier of the bot.public String getBotId()
The unique identifier of the bot.
public DescribeBotResult withBotId(String botId)
The unique identifier of the bot.
botId
- The unique identifier of the bot.public void setBotName(String botName)
The name of the bot.
botName
- The name of the bot.public String getBotName()
The name of the bot.
public DescribeBotResult withBotName(String botName)
The name of the bot.
botName
- The name of the bot.public void setDescription(String description)
The description of the bot.
description
- The description of the bot.public String getDescription()
The description of the bot.
public DescribeBotResult withDescription(String description)
The description of the bot.
description
- The description of the bot.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.public String getRoleArn()
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
public DescribeBotResult withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.
roleArn
- The Amazon Resource Name (ARN) of an IAM role that has permission to access the bot.public void setDataPrivacy(DataPrivacy dataPrivacy)
Settings for managing data privacy of the bot and its conversations with users.
dataPrivacy
- Settings for managing data privacy of the bot and its conversations with users.public DataPrivacy getDataPrivacy()
Settings for managing data privacy of the bot and its conversations with users.
public DescribeBotResult withDataPrivacy(DataPrivacy dataPrivacy)
Settings for managing data privacy of the bot and its conversations with users.
dataPrivacy
- Settings for managing data privacy of the bot and its conversations with users.public void setIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
idleSessionTTLInSeconds
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.public Integer getIdleSessionTTLInSeconds()
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
public DescribeBotResult withIdleSessionTTLInSeconds(Integer idleSessionTTLInSeconds)
The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.
idleSessionTTLInSeconds
- The maximum time in seconds that Amazon Lex retains the data gathered in a conversation.public void setBotStatus(String botStatus)
The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.
botStatus
- The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.BotStatus
public String getBotStatus()
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.BotStatus
public DescribeBotResult withBotStatus(String botStatus)
The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.
botStatus
- The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.BotStatus
public DescribeBotResult withBotStatus(BotStatus botStatus)
The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.
botStatus
- The current status of the bot. When the status is Available
the bot is ready to be used in
conversations with users.BotStatus
public void setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot was created.
creationDateTime
- A timestamp of the date and time that the bot was created.public Date getCreationDateTime()
A timestamp of the date and time that the bot was created.
public DescribeBotResult withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the bot was created.
creationDateTime
- A timestamp of the date and time that the bot was created.public void setLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the bot was last updated.
lastUpdatedDateTime
- A timestamp of the date and time that the bot was last updated.public Date getLastUpdatedDateTime()
A timestamp of the date and time that the bot was last updated.
public DescribeBotResult withLastUpdatedDateTime(Date lastUpdatedDateTime)
A timestamp of the date and time that the bot was last updated.
lastUpdatedDateTime
- A timestamp of the date and time that the bot was last updated.public void setBotType(String botType)
The type of the bot that was described.
botType
- The type of the bot that was described.BotType
public String getBotType()
The type of the bot that was described.
BotType
public DescribeBotResult withBotType(String botType)
The type of the bot that was described.
botType
- The type of the bot that was described.BotType
public DescribeBotResult withBotType(BotType botType)
The type of the bot that was described.
botType
- The type of the bot that was described.BotType
public List<BotMember> getBotMembers()
The list of bots in the network that was described.
public void setBotMembers(Collection<BotMember> botMembers)
The list of bots in the network that was described.
botMembers
- The list of bots in the network that was described.public DescribeBotResult withBotMembers(BotMember... botMembers)
The list of bots in the network 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 list of bots in the network that was described.public DescribeBotResult withBotMembers(Collection<BotMember> botMembers)
The list of bots in the network that was described.
botMembers
- The list of bots in the network that was described.public List<String> getFailureReasons()
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(Collection<String> failureReasons)
If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
built.
failureReasons
- If the botStatus
is Failed
, this contains a list of reasons that the bot
couldn't be built.public DescribeBotResult withFailureReasons(String... failureReasons)
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
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 bot
couldn't be built.public DescribeBotResult withFailureReasons(Collection<String> failureReasons)
If the botStatus
is Failed
, this contains a list of reasons that the bot couldn't be
built.
failureReasons
- If the botStatus
is Failed
, this contains a list of reasons that the bot
couldn't be built.public String toString()
toString
in class Object
Object.toString()
public DescribeBotResult clone()