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 ==.