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