Struct aws_sdk_lexmodelsv2::operation::batch_create_custom_vocabulary_item::BatchCreateCustomVocabularyItemInput
source · #[non_exhaustive]pub struct BatchCreateCustomVocabularyItemInput {
pub bot_id: Option<String>,
pub bot_version: Option<String>,
pub locale_id: Option<String>,
pub custom_vocabulary_item_list: Option<Vec<NewCustomVocabularyItem>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bot_id: Option<String>The identifier of the bot associated with this custom vocabulary.
bot_version: Option<String>The identifier of the version of the bot associated with this custom vocabulary.
locale_id: Option<String>The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
custom_vocabulary_item_list: Option<Vec<NewCustomVocabularyItem>>A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
Implementations§
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub fn bot_id(&self) -> Option<&str>
pub fn bot_id(&self) -> Option<&str>
The identifier of the bot associated with this custom vocabulary.
sourcepub fn bot_version(&self) -> Option<&str>
pub fn bot_version(&self) -> Option<&str>
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn locale_id(&self) -> Option<&str>
pub fn locale_id(&self) -> Option<&str>
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
sourcepub fn custom_vocabulary_item_list(&self) -> &[NewCustomVocabularyItem]
pub fn custom_vocabulary_item_list(&self) -> &[NewCustomVocabularyItem]
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .custom_vocabulary_item_list.is_none().
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
pub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
Creates a new builder-style object to manufacture BatchCreateCustomVocabularyItemInput.
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItemInput
impl Clone for BatchCreateCustomVocabularyItemInput
source§fn clone(&self) -> BatchCreateCustomVocabularyItemInput
fn clone(&self) -> BatchCreateCustomVocabularyItemInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for BatchCreateCustomVocabularyItemInput
impl PartialEq for BatchCreateCustomVocabularyItemInput
source§fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
self and other values to be equal, and is used
by ==.