Struct aws_sdk_lexmodelsv2::operation::batch_create_custom_vocabulary_item::builders::BatchCreateCustomVocabularyItemOutputBuilder
source · #[non_exhaustive]pub struct BatchCreateCustomVocabularyItemOutputBuilder { /* private fields */ }Expand description
A builder for BatchCreateCustomVocabularyItemOutput.
Implementations§
source§impl BatchCreateCustomVocabularyItemOutputBuilder
impl BatchCreateCustomVocabularyItemOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot associated with this custom vocabulary.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot associated with this custom vocabulary.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot associated with this custom vocabulary.
sourcepub fn bot_version(self, input: impl Into<String>) -> Self
pub fn bot_version(self, input: impl Into<String>) -> Self
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn set_bot_version(self, input: Option<String>) -> Self
pub fn set_bot_version(self, input: Option<String>) -> Self
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn get_bot_version(&self) -> &Option<String>
pub fn get_bot_version(&self) -> &Option<String>
The identifier of the version of the bot associated with this custom vocabulary.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
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 set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
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 get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &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 .
sourcepub fn errors(self, input: FailedCustomVocabularyItem) -> Self
pub fn errors(self, input: FailedCustomVocabularyItem) -> Self
Appends an item to errors.
To override the contents of this collection use set_errors.
A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.
sourcepub fn set_errors(self, input: Option<Vec<FailedCustomVocabularyItem>>) -> Self
pub fn set_errors(self, input: Option<Vec<FailedCustomVocabularyItem>>) -> Self
A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.
sourcepub fn get_errors(&self) -> &Option<Vec<FailedCustomVocabularyItem>>
pub fn get_errors(&self) -> &Option<Vec<FailedCustomVocabularyItem>>
A list of custom vocabulary items that failed to create during the operation. The reason for the error is contained within each error object.
sourcepub fn resources(self, input: CustomVocabularyItem) -> Self
pub fn resources(self, input: CustomVocabularyItem) -> Self
Appends an item to resources.
To override the contents of this collection use set_resources.
A list of custom vocabulary items that were successfully created during the operation.
sourcepub fn set_resources(self, input: Option<Vec<CustomVocabularyItem>>) -> Self
pub fn set_resources(self, input: Option<Vec<CustomVocabularyItem>>) -> Self
A list of custom vocabulary items that were successfully created during the operation.
sourcepub fn get_resources(&self) -> &Option<Vec<CustomVocabularyItem>>
pub fn get_resources(&self) -> &Option<Vec<CustomVocabularyItem>>
A list of custom vocabulary items that were successfully created during the operation.
sourcepub fn build(self) -> BatchCreateCustomVocabularyItemOutput
pub fn build(self) -> BatchCreateCustomVocabularyItemOutput
Consumes the builder and constructs a BatchCreateCustomVocabularyItemOutput.
Trait Implementations§
source§impl Clone for BatchCreateCustomVocabularyItemOutputBuilder
impl Clone for BatchCreateCustomVocabularyItemOutputBuilder
source§fn clone(&self) -> BatchCreateCustomVocabularyItemOutputBuilder
fn clone(&self) -> BatchCreateCustomVocabularyItemOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for BatchCreateCustomVocabularyItemOutputBuilder
impl Default for BatchCreateCustomVocabularyItemOutputBuilder
source§fn default() -> BatchCreateCustomVocabularyItemOutputBuilder
fn default() -> BatchCreateCustomVocabularyItemOutputBuilder
source§impl PartialEq for BatchCreateCustomVocabularyItemOutputBuilder
impl PartialEq for BatchCreateCustomVocabularyItemOutputBuilder
source§fn eq(&self, other: &BatchCreateCustomVocabularyItemOutputBuilder) -> bool
fn eq(&self, other: &BatchCreateCustomVocabularyItemOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.