Struct aws_sdk_chime::types::Origination
source · #[non_exhaustive]pub struct Origination {
pub routes: Option<Vec<OriginationRoute>>,
pub disabled: Option<bool>,
}Expand description
Origination settings enable your SIP hosts to receive inbound calls using your Amazon Chime Voice Connector.
The parameters listed below are not required, but you must use at least one.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.routes: 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.
disabled: 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.
Implementations§
source§impl Origination
impl Origination
sourcepub fn routes(&self) -> &[OriginationRoute]
pub fn routes(&self) -> &[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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .routes.is_none().
source§impl Origination
impl Origination
sourcepub fn builder() -> OriginationBuilder
pub fn builder() -> OriginationBuilder
Creates a new builder-style object to manufacture Origination.
Trait Implementations§
source§impl Clone for Origination
impl Clone for Origination
source§fn clone(&self) -> Origination
fn clone(&self) -> Origination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for Origination
impl Debug for Origination
source§impl PartialEq for Origination
impl PartialEq for Origination
source§fn eq(&self, other: &Origination) -> bool
fn eq(&self, other: &Origination) -> bool
self and other values to be equal, and is used
by ==.