Struct aws_sdk_chime::types::builders::TelephonySettingsBuilder
source · #[non_exhaustive]pub struct TelephonySettingsBuilder { /* private fields */ }Expand description
A builder for TelephonySettings.
Implementations§
source§impl TelephonySettingsBuilder
impl TelephonySettingsBuilder
sourcepub fn inbound_calling(self, input: bool) -> Self
pub fn inbound_calling(self, input: bool) -> Self
Allows or denies inbound calling.
This field is required.sourcepub fn set_inbound_calling(self, input: Option<bool>) -> Self
pub fn set_inbound_calling(self, input: Option<bool>) -> Self
Allows or denies inbound calling.
sourcepub fn get_inbound_calling(&self) -> &Option<bool>
pub fn get_inbound_calling(&self) -> &Option<bool>
Allows or denies inbound calling.
sourcepub fn outbound_calling(self, input: bool) -> Self
pub fn outbound_calling(self, input: bool) -> Self
Allows or denies outbound calling.
This field is required.sourcepub fn set_outbound_calling(self, input: Option<bool>) -> Self
pub fn set_outbound_calling(self, input: Option<bool>) -> Self
Allows or denies outbound calling.
sourcepub fn get_outbound_calling(&self) -> &Option<bool>
pub fn get_outbound_calling(&self) -> &Option<bool>
Allows or denies outbound calling.
sourcepub fn build(self) -> Result<TelephonySettings, BuildError>
pub fn build(self) -> Result<TelephonySettings, BuildError>
Consumes the builder and constructs a TelephonySettings.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TelephonySettingsBuilder
impl Clone for TelephonySettingsBuilder
source§fn clone(&self) -> TelephonySettingsBuilder
fn clone(&self) -> TelephonySettingsBuilder
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 TelephonySettingsBuilder
impl Debug for TelephonySettingsBuilder
source§impl Default for TelephonySettingsBuilder
impl Default for TelephonySettingsBuilder
source§fn default() -> TelephonySettingsBuilder
fn default() -> TelephonySettingsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TelephonySettingsBuilder
impl PartialEq for TelephonySettingsBuilder
source§fn eq(&self, other: &TelephonySettingsBuilder) -> bool
fn eq(&self, other: &TelephonySettingsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TelephonySettingsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TelephonySettingsBuilder
impl Send for TelephonySettingsBuilder
impl Sync for TelephonySettingsBuilder
impl Unpin for TelephonySettingsBuilder
impl UnwindSafe for TelephonySettingsBuilder
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.