Struct aws_sdk_chime::operation::update_sip_media_application::builders::UpdateSipMediaApplicationInputBuilder
source · #[non_exhaustive]pub struct UpdateSipMediaApplicationInputBuilder { /* private fields */ }
Expand description
A builder for UpdateSipMediaApplicationInput
.
Implementations§
source§impl UpdateSipMediaApplicationInputBuilder
impl UpdateSipMediaApplicationInputBuilder
sourcepub fn sip_media_application_id(self, input: impl Into<String>) -> Self
pub fn sip_media_application_id(self, input: impl Into<String>) -> Self
The SIP media application ID.
This field is required.sourcepub fn set_sip_media_application_id(self, input: Option<String>) -> Self
pub fn set_sip_media_application_id(self, input: Option<String>) -> Self
The SIP media application ID.
sourcepub fn get_sip_media_application_id(&self) -> &Option<String>
pub fn get_sip_media_application_id(&self) -> &Option<String>
The SIP media application ID.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The new name for the specified SIP media application.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The new name for the specified SIP media application.
sourcepub fn get_name(&self) -> &Option<String>
pub fn get_name(&self) -> &Option<String>
The new name for the specified SIP media application.
sourcepub fn endpoints(self, input: SipMediaApplicationEndpoint) -> Self
pub fn endpoints(self, input: SipMediaApplicationEndpoint) -> Self
Appends an item to endpoints
.
To override the contents of this collection use set_endpoints
.
The new set of endpoints for the specified SIP media application.
sourcepub fn set_endpoints(
self,
input: Option<Vec<SipMediaApplicationEndpoint>>
) -> Self
pub fn set_endpoints( self, input: Option<Vec<SipMediaApplicationEndpoint>> ) -> Self
The new set of endpoints for the specified SIP media application.
sourcepub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
pub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
The new set of endpoints for the specified SIP media application.
sourcepub fn build(self) -> Result<UpdateSipMediaApplicationInput, BuildError>
pub fn build(self) -> Result<UpdateSipMediaApplicationInput, BuildError>
Consumes the builder and constructs a UpdateSipMediaApplicationInput
.
source§impl UpdateSipMediaApplicationInputBuilder
impl UpdateSipMediaApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateSipMediaApplicationOutput, SdkError<UpdateSipMediaApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateSipMediaApplicationOutput, SdkError<UpdateSipMediaApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateSipMediaApplicationInputBuilder
impl Clone for UpdateSipMediaApplicationInputBuilder
source§fn clone(&self) -> UpdateSipMediaApplicationInputBuilder
fn clone(&self) -> UpdateSipMediaApplicationInputBuilder
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 UpdateSipMediaApplicationInputBuilder
impl Default for UpdateSipMediaApplicationInputBuilder
source§fn default() -> UpdateSipMediaApplicationInputBuilder
fn default() -> UpdateSipMediaApplicationInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateSipMediaApplicationInputBuilder
impl PartialEq for UpdateSipMediaApplicationInputBuilder
source§fn eq(&self, other: &UpdateSipMediaApplicationInputBuilder) -> bool
fn eq(&self, other: &UpdateSipMediaApplicationInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateSipMediaApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateSipMediaApplicationInputBuilder
impl RefUnwindSafe for UpdateSipMediaApplicationInputBuilder
impl Send for UpdateSipMediaApplicationInputBuilder
impl Sync for UpdateSipMediaApplicationInputBuilder
impl Unpin for UpdateSipMediaApplicationInputBuilder
impl UnwindSafe for UpdateSipMediaApplicationInputBuilder
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.