#[non_exhaustive]pub struct SipRuleTargetApplicationBuilder { /* private fields */ }
Expand description
A builder for SipRuleTargetApplication
.
Implementations§
source§impl SipRuleTargetApplicationBuilder
impl SipRuleTargetApplicationBuilder
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 priority(self, input: i32) -> Self
pub fn priority(self, input: i32) -> Self
Priority of the SIP media application in the target list.
sourcepub fn set_priority(self, input: Option<i32>) -> Self
pub fn set_priority(self, input: Option<i32>) -> Self
Priority of the SIP media application in the target list.
sourcepub fn get_priority(&self) -> &Option<i32>
pub fn get_priority(&self) -> &Option<i32>
Priority of the SIP media application in the target list.
sourcepub fn aws_region(self, input: impl Into<String>) -> Self
pub fn aws_region(self, input: impl Into<String>) -> Self
The AWS Region of the target application.
sourcepub fn set_aws_region(self, input: Option<String>) -> Self
pub fn set_aws_region(self, input: Option<String>) -> Self
The AWS Region of the target application.
sourcepub fn get_aws_region(&self) -> &Option<String>
pub fn get_aws_region(&self) -> &Option<String>
The AWS Region of the target application.
sourcepub fn build(self) -> SipRuleTargetApplication
pub fn build(self) -> SipRuleTargetApplication
Consumes the builder and constructs a SipRuleTargetApplication
.
Trait Implementations§
source§impl Clone for SipRuleTargetApplicationBuilder
impl Clone for SipRuleTargetApplicationBuilder
source§fn clone(&self) -> SipRuleTargetApplicationBuilder
fn clone(&self) -> SipRuleTargetApplicationBuilder
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 SipRuleTargetApplicationBuilder
impl Default for SipRuleTargetApplicationBuilder
source§fn default() -> SipRuleTargetApplicationBuilder
fn default() -> SipRuleTargetApplicationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SipRuleTargetApplicationBuilder
impl PartialEq for SipRuleTargetApplicationBuilder
source§fn eq(&self, other: &SipRuleTargetApplicationBuilder) -> bool
fn eq(&self, other: &SipRuleTargetApplicationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SipRuleTargetApplicationBuilder
Auto Trait Implementations§
impl Freeze for SipRuleTargetApplicationBuilder
impl RefUnwindSafe for SipRuleTargetApplicationBuilder
impl Send for SipRuleTargetApplicationBuilder
impl Sync for SipRuleTargetApplicationBuilder
impl Unpin for SipRuleTargetApplicationBuilder
impl UnwindSafe for SipRuleTargetApplicationBuilder
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.