Struct aws_sdk_support::operation::describe_supported_languages::builders::DescribeSupportedLanguagesOutputBuilder
source · #[non_exhaustive]pub struct DescribeSupportedLanguagesOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeSupportedLanguagesOutput
.
Implementations§
source§impl DescribeSupportedLanguagesOutputBuilder
impl DescribeSupportedLanguagesOutputBuilder
sourcepub fn supported_languages(self, input: SupportedLanguage) -> Self
pub fn supported_languages(self, input: SupportedLanguage) -> Self
Appends an item to supported_languages
.
To override the contents of this collection use set_supported_languages
.
A JSON-formatted array that contains the available ISO 639-1 language codes.
sourcepub fn set_supported_languages(
self,
input: Option<Vec<SupportedLanguage>>
) -> Self
pub fn set_supported_languages( self, input: Option<Vec<SupportedLanguage>> ) -> Self
A JSON-formatted array that contains the available ISO 639-1 language codes.
sourcepub fn get_supported_languages(&self) -> &Option<Vec<SupportedLanguage>>
pub fn get_supported_languages(&self) -> &Option<Vec<SupportedLanguage>>
A JSON-formatted array that contains the available ISO 639-1 language codes.
sourcepub fn build(self) -> DescribeSupportedLanguagesOutput
pub fn build(self) -> DescribeSupportedLanguagesOutput
Consumes the builder and constructs a DescribeSupportedLanguagesOutput
.
Trait Implementations§
source§impl Clone for DescribeSupportedLanguagesOutputBuilder
impl Clone for DescribeSupportedLanguagesOutputBuilder
source§fn clone(&self) -> DescribeSupportedLanguagesOutputBuilder
fn clone(&self) -> DescribeSupportedLanguagesOutputBuilder
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 Default for DescribeSupportedLanguagesOutputBuilder
impl Default for DescribeSupportedLanguagesOutputBuilder
source§fn default() -> DescribeSupportedLanguagesOutputBuilder
fn default() -> DescribeSupportedLanguagesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DescribeSupportedLanguagesOutputBuilder
impl PartialEq for DescribeSupportedLanguagesOutputBuilder
source§fn eq(&self, other: &DescribeSupportedLanguagesOutputBuilder) -> bool
fn eq(&self, other: &DescribeSupportedLanguagesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeSupportedLanguagesOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeSupportedLanguagesOutputBuilder
impl RefUnwindSafe for DescribeSupportedLanguagesOutputBuilder
impl Send for DescribeSupportedLanguagesOutputBuilder
impl Sync for DescribeSupportedLanguagesOutputBuilder
impl Unpin for DescribeSupportedLanguagesOutputBuilder
impl UnwindSafe for DescribeSupportedLanguagesOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.