Struct aws_sdk_transcribe::operation::describe_language_model::builders::DescribeLanguageModelOutputBuilder
source · #[non_exhaustive]pub struct DescribeLanguageModelOutputBuilder { /* private fields */ }Expand description
A builder for DescribeLanguageModelOutput.
Implementations§
source§impl DescribeLanguageModelOutputBuilder
impl DescribeLanguageModelOutputBuilder
sourcepub fn language_model(self, input: LanguageModel) -> Self
pub fn language_model(self, input: LanguageModel) -> Self
Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this DescribeLanguageModel to help identify the reason for this failure.
sourcepub fn set_language_model(self, input: Option<LanguageModel>) -> Self
pub fn set_language_model(self, input: Option<LanguageModel>) -> Self
Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this DescribeLanguageModel to help identify the reason for this failure.
sourcepub fn get_language_model(&self) -> &Option<LanguageModel>
pub fn get_language_model(&self) -> &Option<LanguageModel>
Provides information about the specified custom language model.
This parameter also shows if the base language model you used to create your custom language model has been updated. If Amazon Transcribe has updated the base model, you can create a new custom language model using the updated base model.
If you tried to create a new custom language model and the request wasn't successful, you can use this DescribeLanguageModel to help identify the reason for this failure.
sourcepub fn build(self) -> DescribeLanguageModelOutput
pub fn build(self) -> DescribeLanguageModelOutput
Consumes the builder and constructs a DescribeLanguageModelOutput.
Trait Implementations§
source§impl Clone for DescribeLanguageModelOutputBuilder
impl Clone for DescribeLanguageModelOutputBuilder
source§fn clone(&self) -> DescribeLanguageModelOutputBuilder
fn clone(&self) -> DescribeLanguageModelOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribeLanguageModelOutputBuilder
impl Default for DescribeLanguageModelOutputBuilder
source§fn default() -> DescribeLanguageModelOutputBuilder
fn default() -> DescribeLanguageModelOutputBuilder
source§impl PartialEq for DescribeLanguageModelOutputBuilder
impl PartialEq for DescribeLanguageModelOutputBuilder
source§fn eq(&self, other: &DescribeLanguageModelOutputBuilder) -> bool
fn eq(&self, other: &DescribeLanguageModelOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DescribeLanguageModelOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeLanguageModelOutputBuilder
impl RefUnwindSafe for DescribeLanguageModelOutputBuilder
impl Send for DescribeLanguageModelOutputBuilder
impl Sync for DescribeLanguageModelOutputBuilder
impl Unpin for DescribeLanguageModelOutputBuilder
impl UnwindSafe for DescribeLanguageModelOutputBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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