@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateBotVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateBotVersionResult |
addBotVersionLocaleSpecificationEntry(String key,
BotVersionLocaleDetails value)
Add a single BotVersionLocaleSpecification entry
|
CreateBotVersionResult |
clearBotVersionLocaleSpecificationEntries()
Removes all the entries added into BotVersionLocaleSpecification.
|
CreateBotVersionResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The bot identifier specified in the request.
|
String |
getBotStatus()
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating . |
String |
getBotVersion()
The version number assigned to the version.
|
Map<String,BotVersionLocaleDetails> |
getBotVersionLocaleSpecification()
The source versions used for each locale in the new version.
|
Date |
getCreationDateTime()
A timestamp of the date and time that the version was created.
|
String |
getDescription()
The description of the version specified in the request.
|
int |
hashCode() |
void |
setBotId(String botId)
The bot identifier specified in the request.
|
void |
setBotStatus(String botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating . |
void |
setBotVersion(String botVersion)
The version number assigned to the version.
|
void |
setBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
The source versions used for each locale in the new version.
|
void |
setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
|
void |
setDescription(String description)
The description of the version specified in the request.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotVersionResult |
withBotId(String botId)
The bot identifier specified in the request.
|
CreateBotVersionResult |
withBotStatus(BotStatus botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating . |
CreateBotVersionResult |
withBotStatus(String botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating . |
CreateBotVersionResult |
withBotVersion(String botVersion)
The version number assigned to the version.
|
CreateBotVersionResult |
withBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
The source versions used for each locale in the new version.
|
CreateBotVersionResult |
withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
|
CreateBotVersionResult |
withDescription(String description)
The description of the version specified in the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The bot identifier specified in the request.
botId
- The bot identifier specified in the request.public String getBotId()
The bot identifier specified in the request.
public CreateBotVersionResult withBotId(String botId)
The bot identifier specified in the request.
botId
- The bot identifier specified in the request.public void setDescription(String description)
The description of the version specified in the request.
description
- The description of the version specified in the request.public String getDescription()
The description of the version specified in the request.
public CreateBotVersionResult withDescription(String description)
The description of the version specified in the request.
description
- The description of the version specified in the request.public void setBotVersion(String botVersion)
The version number assigned to the version.
botVersion
- The version number assigned to the version.public String getBotVersion()
The version number assigned to the version.
public CreateBotVersionResult withBotVersion(String botVersion)
The version number assigned to the version.
botVersion
- The version number assigned to the version.public Map<String,BotVersionLocaleDetails> getBotVersionLocaleSpecification()
The source versions used for each locale in the new version.
public void setBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
The source versions used for each locale in the new version.
botVersionLocaleSpecification
- The source versions used for each locale in the new version.public CreateBotVersionResult withBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
The source versions used for each locale in the new version.
botVersionLocaleSpecification
- The source versions used for each locale in the new version.public CreateBotVersionResult addBotVersionLocaleSpecificationEntry(String key, BotVersionLocaleDetails value)
public CreateBotVersionResult clearBotVersionLocaleSpecificationEntries()
public void setBotStatus(String botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex
can't build the bot, it sets status to Failed
.
botStatus
- When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If
Amazon Lex can't build the bot, it sets status to Failed
.BotStatus
public String getBotStatus()
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex
can't build the bot, it sets status to Failed
.
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If
Amazon Lex can't build the bot, it sets status to Failed
.BotStatus
public CreateBotVersionResult withBotStatus(String botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex
can't build the bot, it sets status to Failed
.
botStatus
- When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If
Amazon Lex can't build the bot, it sets status to Failed
.BotStatus
public CreateBotVersionResult withBotStatus(BotStatus botStatus)
When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If Amazon Lex
can't build the bot, it sets status to Failed
.
botStatus
- When you send a request to create or update a bot, Amazon Lex sets the status response element to
Creating
. After Amazon Lex builds the bot, it sets status to Available
. If
Amazon Lex can't build the bot, it sets status to Failed
.BotStatus
public void setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
creationDateTime
- A timestamp of the date and time that the version was created.public Date getCreationDateTime()
A timestamp of the date and time that the version was created.
public CreateBotVersionResult withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
creationDateTime
- A timestamp of the date and time that the version was created.public String toString()
toString
in class Object
Object.toString()
public CreateBotVersionResult clone()