Struct aws_sdk_chime::types::builders::VoiceConnectorItemBuilder
source · #[non_exhaustive]pub struct VoiceConnectorItemBuilder { /* private fields */ }
Expand description
A builder for VoiceConnectorItem
.
Implementations§
source§impl VoiceConnectorItemBuilder
impl VoiceConnectorItemBuilder
sourcepub fn voice_connector_id(self, input: impl Into<String>) -> Self
pub fn voice_connector_id(self, input: impl Into<String>) -> Self
The Amazon Chime Voice Connector ID.
This field is required.sourcepub fn set_voice_connector_id(self, input: Option<String>) -> Self
pub fn set_voice_connector_id(self, input: Option<String>) -> Self
The Amazon Chime Voice Connector ID.
sourcepub fn get_voice_connector_id(&self) -> &Option<String>
pub fn get_voice_connector_id(&self) -> &Option<String>
The Amazon Chime Voice Connector ID.
sourcepub fn priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.
This field is required.sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
The priority associated with the Amazon Chime Voice Connector, with 1 being the highest priority. Higher priority Amazon Chime Voice Connectors are attempted first.
sourcepub fn build(self) -> Result<VoiceConnectorItem, BuildError>
pub fn build(self) -> Result<VoiceConnectorItem, BuildError>
Consumes the builder and constructs a VoiceConnectorItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for VoiceConnectorItemBuilder
impl Clone for VoiceConnectorItemBuilder
source§fn clone(&self) -> VoiceConnectorItemBuilder
fn clone(&self) -> VoiceConnectorItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VoiceConnectorItemBuilder
impl Debug for VoiceConnectorItemBuilder
source§impl Default for VoiceConnectorItemBuilder
impl Default for VoiceConnectorItemBuilder
source§fn default() -> VoiceConnectorItemBuilder
fn default() -> VoiceConnectorItemBuilder
source§impl PartialEq for VoiceConnectorItemBuilder
impl PartialEq for VoiceConnectorItemBuilder
source§fn eq(&self, other: &VoiceConnectorItemBuilder) -> bool
fn eq(&self, other: &VoiceConnectorItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for VoiceConnectorItemBuilder
Auto Trait Implementations§
impl Freeze for VoiceConnectorItemBuilder
impl RefUnwindSafe for VoiceConnectorItemBuilder
impl Send for VoiceConnectorItemBuilder
impl Sync for VoiceConnectorItemBuilder
impl Unpin for VoiceConnectorItemBuilder
impl UnwindSafe for VoiceConnectorItemBuilder
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