Struct aws_sdk_chime::operation::create_sip_media_application::builders::CreateSipMediaApplicationInputBuilder
source · #[non_exhaustive]pub struct CreateSipMediaApplicationInputBuilder { /* private fields */ }
Expand description
A builder for CreateSipMediaApplicationInput
.
Implementations§
source§impl CreateSipMediaApplicationInputBuilder
impl CreateSipMediaApplicationInputBuilder
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The AWS Region assigned to the SIP media application.
This field is required.sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The AWS Region assigned to the SIP media application.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The AWS Region assigned to the SIP media application.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The SIP media application name.
This field is required.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 (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.
sourcepub fn set_endpoints(
self,
input: Option<Vec<SipMediaApplicationEndpoint>>
) -> Self
pub fn set_endpoints( self, input: Option<Vec<SipMediaApplicationEndpoint>> ) -> Self
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.
sourcepub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
pub fn get_endpoints(&self) -> &Option<Vec<SipMediaApplicationEndpoint>>
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.
sourcepub fn build(self) -> Result<CreateSipMediaApplicationInput, BuildError>
pub fn build(self) -> Result<CreateSipMediaApplicationInput, BuildError>
Consumes the builder and constructs a CreateSipMediaApplicationInput
.
source§impl CreateSipMediaApplicationInputBuilder
impl CreateSipMediaApplicationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSipMediaApplicationOutput, SdkError<CreateSipMediaApplicationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSipMediaApplicationOutput, SdkError<CreateSipMediaApplicationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSipMediaApplicationInputBuilder
impl Clone for CreateSipMediaApplicationInputBuilder
source§fn clone(&self) -> CreateSipMediaApplicationInputBuilder
fn clone(&self) -> CreateSipMediaApplicationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSipMediaApplicationInputBuilder
impl Default for CreateSipMediaApplicationInputBuilder
source§fn default() -> CreateSipMediaApplicationInputBuilder
fn default() -> CreateSipMediaApplicationInputBuilder
source§impl PartialEq for CreateSipMediaApplicationInputBuilder
impl PartialEq for CreateSipMediaApplicationInputBuilder
source§fn eq(&self, other: &CreateSipMediaApplicationInputBuilder) -> bool
fn eq(&self, other: &CreateSipMediaApplicationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSipMediaApplicationInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSipMediaApplicationInputBuilder
impl RefUnwindSafe for CreateSipMediaApplicationInputBuilder
impl Send for CreateSipMediaApplicationInputBuilder
impl Sync for CreateSipMediaApplicationInputBuilder
impl Unpin for CreateSipMediaApplicationInputBuilder
impl UnwindSafe for CreateSipMediaApplicationInputBuilder
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