Struct aws_sdk_chime::types::builders::SipMediaApplicationBuilder
source · #[non_exhaustive]pub struct SipMediaApplicationBuilder { /* private fields */ }Expand description
A builder for SipMediaApplication.
Implementations§
source§impl SipMediaApplicationBuilder
impl SipMediaApplicationBuilder
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.
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 aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The AWS Region in which the SIP media application is created.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The AWS Region in which the SIP media application is created.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The AWS Region in which the SIP media application is created.
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.
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
sourcepub fn set_endpoints(
self,
input: Option<Vec<SipMediaApplicationEndpoint>>,
) -> Self
pub fn set_endpoints( self, input: Option<Vec<SipMediaApplicationEndpoint>>, ) -> Self
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
sourcepub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
pub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
sourcepub fn created_timestamp(self, input: DateTime) -> Self
pub fn created_timestamp(self, input: DateTime) -> Self
The SIP media application creation timestamp, in ISO 8601 format.
sourcepub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_created_timestamp(self, input: Option<DateTime>) -> Self
The SIP media application creation timestamp, in ISO 8601 format.
sourcepub fn get_created_timestamp(&self) -> &Option<DateTime>
pub fn get_created_timestamp(&self) -> &Option<DateTime>
The SIP media application creation timestamp, in ISO 8601 format.
sourcepub fn updated_timestamp(self, input: DateTime) -> Self
pub fn updated_timestamp(self, input: DateTime) -> Self
The SIP media application updated timestamp, in ISO 8601 format.
sourcepub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_updated_timestamp(self, input: Option<DateTime>) -> Self
The SIP media application updated timestamp, in ISO 8601 format.
sourcepub fn get_updated_timestamp(&self) -> &Option<DateTime>
pub fn get_updated_timestamp(&self) -> &Option<DateTime>
The SIP media application updated timestamp, in ISO 8601 format.
sourcepub fn build(self) -> SipMediaApplication
pub fn build(self) -> SipMediaApplication
Consumes the builder and constructs a SipMediaApplication.
Trait Implementations§
source§impl Clone for SipMediaApplicationBuilder
impl Clone for SipMediaApplicationBuilder
source§fn clone(&self) -> SipMediaApplicationBuilder
fn clone(&self) -> SipMediaApplicationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SipMediaApplicationBuilder
impl Debug for SipMediaApplicationBuilder
source§impl Default for SipMediaApplicationBuilder
impl Default for SipMediaApplicationBuilder
source§fn default() -> SipMediaApplicationBuilder
fn default() -> SipMediaApplicationBuilder
impl StructuralPartialEq for SipMediaApplicationBuilder
Auto Trait Implementations§
impl Freeze for SipMediaApplicationBuilder
impl RefUnwindSafe for SipMediaApplicationBuilder
impl Send for SipMediaApplicationBuilder
impl Sync for SipMediaApplicationBuilder
impl Unpin for SipMediaApplicationBuilder
impl UnwindSafe for SipMediaApplicationBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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