Struct aws_sdk_lexmodelsv2::operation::batch_create_custom_vocabulary_item::BatchCreateCustomVocabularyItemInput
source · #[non_exhaustive]pub struct BatchCreateCustomVocabularyItemInput { /* private fields */ }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) -> Option<&[NewCustomVocabularyItem]>
pub fn custom_vocabulary_item_list(&self) -> Option<&[NewCustomVocabularyItem]>
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
pub fn builder() -> BatchCreateCustomVocabularyItemInputBuilder
Creates a new builder-style object to manufacture BatchCreateCustomVocabularyItemInput.
source§impl BatchCreateCustomVocabularyItemInput
impl BatchCreateCustomVocabularyItemInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<BatchCreateCustomVocabularyItem, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<BatchCreateCustomVocabularyItem, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<BatchCreateCustomVocabularyItem>
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItemInput
impl Clone for BatchCreateCustomVocabularyItemInput
source§fn clone(&self) -> BatchCreateCustomVocabularyItemInput
fn clone(&self) -> BatchCreateCustomVocabularyItemInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<BatchCreateCustomVocabularyItemInput> for BatchCreateCustomVocabularyItemInput
impl PartialEq<BatchCreateCustomVocabularyItemInput> for BatchCreateCustomVocabularyItemInput
source§fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
fn eq(&self, other: &BatchCreateCustomVocabularyItemInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.