Struct aws_sdk_connect::types::builders::VocabularySummaryBuilder
source · #[non_exhaustive]pub struct VocabularySummaryBuilder { /* private fields */ }Expand description
A builder for VocabularySummary.
Implementations§
source§impl VocabularySummaryBuilder
impl VocabularySummaryBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique name of the custom vocabulary.
This field is required.sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The identifier of the custom vocabulary.
This field is required.sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the custom vocabulary.
This field is required.sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the custom vocabulary.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the custom vocabulary.
sourcepub fn language_code(self, input: VocabularyLanguageCode) -> Self
pub fn language_code(self, input: VocabularyLanguageCode) -> Self
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
This field is required.sourcepub fn set_language_code(self, input: Option<VocabularyLanguageCode>) -> Self
pub fn set_language_code(self, input: Option<VocabularyLanguageCode>) -> Self
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn get_language_code(&self) -> &Option<VocabularyLanguageCode>
pub fn get_language_code(&self) -> &Option<VocabularyLanguageCode>
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?
sourcepub fn state(self, input: VocabularyState) -> Self
pub fn state(self, input: VocabularyState) -> Self
The current state of the custom vocabulary.
This field is required.sourcepub fn set_state(self, input: Option<VocabularyState>) -> Self
pub fn set_state(self, input: Option<VocabularyState>) -> Self
The current state of the custom vocabulary.
sourcepub fn get_state(&self) -> &Option<VocabularyState>
pub fn get_state(&self) -> &Option<VocabularyState>
The current state of the custom vocabulary.
sourcepub fn last_modified_time(self, input: DateTime) -> Self
pub fn last_modified_time(self, input: DateTime) -> Self
The timestamp when the custom vocabulary was last modified.
This field is required.sourcepub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_time(self, input: Option<DateTime>) -> Self
The timestamp when the custom vocabulary was last modified.
sourcepub fn get_last_modified_time(&self) -> &Option<DateTime>
pub fn get_last_modified_time(&self) -> &Option<DateTime>
The timestamp when the custom vocabulary was last modified.
sourcepub fn failure_reason(self, input: impl Into<String>) -> Self
pub fn failure_reason(self, input: impl Into<String>) -> Self
The reason why the custom vocabulary was not created.
sourcepub fn set_failure_reason(self, input: Option<String>) -> Self
pub fn set_failure_reason(self, input: Option<String>) -> Self
The reason why the custom vocabulary was not created.
sourcepub fn get_failure_reason(&self) -> &Option<String>
pub fn get_failure_reason(&self) -> &Option<String>
The reason why the custom vocabulary was not created.
sourcepub fn build(self) -> Result<VocabularySummary, BuildError>
pub fn build(self) -> Result<VocabularySummary, BuildError>
Consumes the builder and constructs a VocabularySummary.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VocabularySummaryBuilder
impl Clone for VocabularySummaryBuilder
source§fn clone(&self) -> VocabularySummaryBuilder
fn clone(&self) -> VocabularySummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VocabularySummaryBuilder
impl Debug for VocabularySummaryBuilder
source§impl Default for VocabularySummaryBuilder
impl Default for VocabularySummaryBuilder
source§fn default() -> VocabularySummaryBuilder
fn default() -> VocabularySummaryBuilder
source§impl PartialEq for VocabularySummaryBuilder
impl PartialEq for VocabularySummaryBuilder
source§fn eq(&self, other: &VocabularySummaryBuilder) -> bool
fn eq(&self, other: &VocabularySummaryBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for VocabularySummaryBuilder
Auto Trait Implementations§
impl Freeze for VocabularySummaryBuilder
impl RefUnwindSafe for VocabularySummaryBuilder
impl Send for VocabularySummaryBuilder
impl Sync for VocabularySummaryBuilder
impl Unpin for VocabularySummaryBuilder
impl UnwindSafe for VocabularySummaryBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more