Struct aws_sdk_chime::operation::put_voice_connector_termination_credentials::builders::PutVoiceConnectorTerminationCredentialsInputBuilder
source · #[non_exhaustive]pub struct PutVoiceConnectorTerminationCredentialsInputBuilder { /* private fields */ }
Expand description
A builder for PutVoiceConnectorTerminationCredentialsInput
.
Implementations§
source§impl PutVoiceConnectorTerminationCredentialsInputBuilder
impl PutVoiceConnectorTerminationCredentialsInputBuilder
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 credentials(self, input: Credential) -> Self
pub fn credentials(self, input: Credential) -> Self
Appends an item to credentials
.
To override the contents of this collection use set_credentials
.
The termination SIP credentials.
sourcepub fn set_credentials(self, input: Option<Vec<Credential>>) -> Self
pub fn set_credentials(self, input: Option<Vec<Credential>>) -> Self
The termination SIP credentials.
sourcepub fn get_credentials(&self) -> &Option<Vec<Credential>>
pub fn get_credentials(&self) -> &Option<Vec<Credential>>
The termination SIP credentials.
sourcepub fn build(
self
) -> Result<PutVoiceConnectorTerminationCredentialsInput, BuildError>
pub fn build( self ) -> Result<PutVoiceConnectorTerminationCredentialsInput, BuildError>
Consumes the builder and constructs a PutVoiceConnectorTerminationCredentialsInput
.
source§impl PutVoiceConnectorTerminationCredentialsInputBuilder
impl PutVoiceConnectorTerminationCredentialsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<PutVoiceConnectorTerminationCredentialsOutput, SdkError<PutVoiceConnectorTerminationCredentialsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<PutVoiceConnectorTerminationCredentialsOutput, SdkError<PutVoiceConnectorTerminationCredentialsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for PutVoiceConnectorTerminationCredentialsInputBuilder
impl Clone for PutVoiceConnectorTerminationCredentialsInputBuilder
source§fn clone(&self) -> PutVoiceConnectorTerminationCredentialsInputBuilder
fn clone(&self) -> PutVoiceConnectorTerminationCredentialsInputBuilder
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 Default for PutVoiceConnectorTerminationCredentialsInputBuilder
impl Default for PutVoiceConnectorTerminationCredentialsInputBuilder
source§fn default() -> PutVoiceConnectorTerminationCredentialsInputBuilder
fn default() -> PutVoiceConnectorTerminationCredentialsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PutVoiceConnectorTerminationCredentialsInputBuilder
impl PartialEq for PutVoiceConnectorTerminationCredentialsInputBuilder
source§fn eq(
&self,
other: &PutVoiceConnectorTerminationCredentialsInputBuilder
) -> bool
fn eq( &self, other: &PutVoiceConnectorTerminationCredentialsInputBuilder ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PutVoiceConnectorTerminationCredentialsInputBuilder
Auto Trait Implementations§
impl Freeze for PutVoiceConnectorTerminationCredentialsInputBuilder
impl RefUnwindSafe for PutVoiceConnectorTerminationCredentialsInputBuilder
impl Send for PutVoiceConnectorTerminationCredentialsInputBuilder
impl Sync for PutVoiceConnectorTerminationCredentialsInputBuilder
impl Unpin for PutVoiceConnectorTerminationCredentialsInputBuilder
impl UnwindSafe for PutVoiceConnectorTerminationCredentialsInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.