Struct aws_sdk_connect::types::builders::TelephonyConfigBuilder
source · #[non_exhaustive]pub struct TelephonyConfigBuilder { /* private fields */ }
Expand description
A builder for TelephonyConfig
.
Implementations§
source§impl TelephonyConfigBuilder
impl TelephonyConfigBuilder
sourcepub fn distributions(self, input: Distribution) -> Self
pub fn distributions(self, input: Distribution) -> Self
Appends an item to distributions
.
To override the contents of this collection use set_distributions
.
Information about traffic distributions.
sourcepub fn set_distributions(self, input: Option<Vec<Distribution>>) -> Self
pub fn set_distributions(self, input: Option<Vec<Distribution>>) -> Self
Information about traffic distributions.
sourcepub fn get_distributions(&self) -> &Option<Vec<Distribution>>
pub fn get_distributions(&self) -> &Option<Vec<Distribution>>
Information about traffic distributions.
sourcepub fn build(self) -> Result<TelephonyConfig, BuildError>
pub fn build(self) -> Result<TelephonyConfig, BuildError>
Consumes the builder and constructs a TelephonyConfig
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TelephonyConfigBuilder
impl Clone for TelephonyConfigBuilder
source§fn clone(&self) -> TelephonyConfigBuilder
fn clone(&self) -> TelephonyConfigBuilder
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 Debug for TelephonyConfigBuilder
impl Debug for TelephonyConfigBuilder
source§impl Default for TelephonyConfigBuilder
impl Default for TelephonyConfigBuilder
source§fn default() -> TelephonyConfigBuilder
fn default() -> TelephonyConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TelephonyConfigBuilder
impl PartialEq for TelephonyConfigBuilder
source§fn eq(&self, other: &TelephonyConfigBuilder) -> bool
fn eq(&self, other: &TelephonyConfigBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TelephonyConfigBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TelephonyConfigBuilder
impl Send for TelephonyConfigBuilder
impl Sync for TelephonyConfigBuilder
impl Unpin for TelephonyConfigBuilder
impl UnwindSafe for TelephonyConfigBuilder
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>
Creates a shared type from an unshared type.