Struct aws_sdk_chime::types::builders::OriginationBuilder
source · #[non_exhaustive]pub struct OriginationBuilder { /* private fields */ }
Expand description
A builder for Origination
.
Implementations§
source§impl OriginationBuilder
impl OriginationBuilder
sourcepub fn routes(self, input: OriginationRoute) -> Self
pub fn routes(self, input: OriginationRoute) -> Self
Appends an item to routes
.
To override the contents of this collection use set_routes
.
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled
.
sourcepub fn set_routes(self, input: Option<Vec<OriginationRoute>>) -> Self
pub fn set_routes(self, input: Option<Vec<OriginationRoute>>) -> Self
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled
.
sourcepub fn get_routes(&self) -> &Option<Vec<OriginationRoute>>
pub fn get_routes(&self) -> &Option<Vec<OriginationRoute>>
The call distribution properties defined for your SIP hosts. Valid range: Minimum value of 1. Maximum value of 20. This parameter is not required, but you must specify this parameter or Disabled
.
sourcepub fn disabled(self, input: bool) -> Self
pub fn disabled(self, input: bool) -> Self
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter or Routes
.
sourcepub fn set_disabled(self, input: Option<bool>) -> Self
pub fn set_disabled(self, input: Option<bool>) -> Self
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter or Routes
.
sourcepub fn get_disabled(&self) -> &Option<bool>
pub fn get_disabled(&self) -> &Option<bool>
When origination settings are disabled, inbound calls are not enabled for your Amazon Chime Voice Connector. This parameter is not required, but you must specify this parameter or Routes
.
sourcepub fn build(self) -> Origination
pub fn build(self) -> Origination
Consumes the builder and constructs a Origination
.
Trait Implementations§
source§impl Clone for OriginationBuilder
impl Clone for OriginationBuilder
source§fn clone(&self) -> OriginationBuilder
fn clone(&self) -> OriginationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OriginationBuilder
impl Debug for OriginationBuilder
source§impl Default for OriginationBuilder
impl Default for OriginationBuilder
source§fn default() -> OriginationBuilder
fn default() -> OriginationBuilder
source§impl PartialEq for OriginationBuilder
impl PartialEq for OriginationBuilder
source§fn eq(&self, other: &OriginationBuilder) -> bool
fn eq(&self, other: &OriginationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OriginationBuilder
Auto Trait Implementations§
impl Freeze for OriginationBuilder
impl RefUnwindSafe for OriginationBuilder
impl Send for OriginationBuilder
impl Sync for OriginationBuilder
impl Unpin for OriginationBuilder
impl UnwindSafe for OriginationBuilder
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> 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