@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBotVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBotVersionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBotVersionRequest |
addBotVersionLocaleSpecificationEntry(String key,
BotVersionLocaleDetails value)
Add a single BotVersionLocaleSpecification entry
|
CreateBotVersionRequest |
clearBotVersionLocaleSpecificationEntries()
Removes all the entries added into BotVersionLocaleSpecification.
|
CreateBotVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to create the version for.
|
Map<String,BotVersionLocaleDetails> |
getBotVersionLocaleSpecification()
Specifies the locales that Amazon Lex adds to this version.
|
String |
getDescription()
A description of the version.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to create the version for.
|
void |
setBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version.
|
void |
setDescription(String description)
A description of the version.
|
String |
toString()
Returns a string representation of this object.
|
CreateBotVersionRequest |
withBotId(String botId)
The identifier of the bot to create the version for.
|
CreateBotVersionRequest |
withBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version.
|
CreateBotVersionRequest |
withDescription(String description)
A description of the version.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotId(String botId)
The identifier of the bot to create the version for.
botId
- The identifier of the bot to create the version for.public String getBotId()
The identifier of the bot to create the version for.
public CreateBotVersionRequest withBotId(String botId)
The identifier of the bot to create the version for.
botId
- The identifier of the bot to create the version for.public void setDescription(String description)
A description of the version. Use the description to help identify the version in lists.
description
- A description of the version. Use the description to help identify the version in lists.public String getDescription()
A description of the version. Use the description to help identify the version in lists.
public CreateBotVersionRequest withDescription(String description)
A description of the version. Use the description to help identify the version in lists.
description
- A description of the version. Use the description to help identify the version in lists.public Map<String,BotVersionLocaleDetails> getBotVersionLocaleSpecification()
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft
version or any
other previously published version for each locale. When you specify a source version, the locale data is copied
from the source version to the new version.
Draft
version
or any other previously published version for each locale. When you specify a source version, the locale
data is copied from the source version to the new version.public void setBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft
version or any
other previously published version for each locale. When you specify a source version, the locale data is copied
from the source version to the new version.
botVersionLocaleSpecification
- Specifies the locales that Amazon Lex adds to this version. You can choose the Draft
version
or any other previously published version for each locale. When you specify a source version, the locale
data is copied from the source version to the new version.public CreateBotVersionRequest withBotVersionLocaleSpecification(Map<String,BotVersionLocaleDetails> botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version. You can choose the Draft
version or any
other previously published version for each locale. When you specify a source version, the locale data is copied
from the source version to the new version.
botVersionLocaleSpecification
- Specifies the locales that Amazon Lex adds to this version. You can choose the Draft
version
or any other previously published version for each locale. When you specify a source version, the locale
data is copied from the source version to the new version.public CreateBotVersionRequest addBotVersionLocaleSpecificationEntry(String key, BotVersionLocaleDetails value)
public CreateBotVersionRequest clearBotVersionLocaleSpecificationEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateBotVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()