@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotLocaleExportSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Provides the bot locale parameters required for exporting a bot locale.
Constructor and Description |
---|
BotLocaleExportSpecification() |
Modifier and Type | Method and Description |
---|---|
BotLocaleExportSpecification |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to create the locale for.
|
String |
getBotVersion()
The version of the bot to export.
|
String |
getLocaleId()
The identifier of the language and locale to export.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotId(String botId)
The identifier of the bot to create the locale for.
|
void |
setBotVersion(String botVersion)
The version of the bot to export.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale to export.
|
String |
toString()
Returns a string representation of this object.
|
BotLocaleExportSpecification |
withBotId(String botId)
The identifier of the bot to create the locale for.
|
BotLocaleExportSpecification |
withBotVersion(String botVersion)
The version of the bot to export.
|
BotLocaleExportSpecification |
withLocaleId(String localeId)
The identifier of the language and locale to export.
|
public void setBotId(String botId)
The identifier of the bot to create the locale for.
botId
- The identifier of the bot to create the locale for.public String getBotId()
The identifier of the bot to create the locale for.
public BotLocaleExportSpecification withBotId(String botId)
The identifier of the bot to create the locale for.
botId
- The identifier of the bot to create the locale for.public void setBotVersion(String botVersion)
The version of the bot to export.
botVersion
- The version of the bot to export.public String getBotVersion()
The version of the bot to export.
public BotLocaleExportSpecification withBotVersion(String botVersion)
The version of the bot to export.
botVersion
- The version of the bot to export.public void setLocaleId(String localeId)
The identifier of the language and locale to export. The string must match one of the locales in the bot.
localeId
- The identifier of the language and locale to export. The string must match one of the locales in the bot.public String getLocaleId()
The identifier of the language and locale to export. The string must match one of the locales in the bot.
public BotLocaleExportSpecification withLocaleId(String localeId)
The identifier of the language and locale to export. The string must match one of the locales in the bot.
localeId
- The identifier of the language and locale to export. The string must match one of the locales in the bot.public String toString()
toString
in class Object
Object.toString()
public BotLocaleExportSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.