Struct aws_sdk_chime::operation::validate_e911_address::builders::ValidateE911AddressFluentBuilder
source ยท pub struct ValidateE911AddressFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ValidateE911Address
.
Validates an address to be used for 911 calls made with Amazon Chime Voice Connectors. You can use validated addresses in a Presence Information Data Format Location Object file that you include in SIP requests. That helps ensure that addresses are routed to the appropriate Public Safety Answering Point.
This API is is no longer supported and will not be updated. We recommend using the latest version, ValidateE911Address, in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
Implementationsยง
sourceยงimpl ValidateE911AddressFluentBuilder
impl ValidateE911AddressFluentBuilder
sourcepub fn as_input(&self) -> &ValidateE911AddressInputBuilder
pub fn as_input(&self) -> &ValidateE911AddressInputBuilder
Access the ValidateE911Address as a reference.
sourcepub async fn send(
self
) -> Result<ValidateE911AddressOutput, SdkError<ValidateE911AddressError, HttpResponse>>
pub async fn send( self ) -> Result<ValidateE911AddressOutput, SdkError<ValidateE911AddressError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ValidateE911AddressOutput, ValidateE911AddressError, Self>
pub fn customize( self ) -> CustomizableOperation<ValidateE911AddressOutput, ValidateE911AddressError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn aws_account_id(self, input: impl Into<String>) -> Self
pub fn aws_account_id(self, input: impl Into<String>) -> Self
The AWS account ID.
sourcepub fn set_aws_account_id(self, input: Option<String>) -> Self
pub fn set_aws_account_id(self, input: Option<String>) -> Self
The AWS account ID.
sourcepub fn get_aws_account_id(&self) -> &Option<String>
pub fn get_aws_account_id(&self) -> &Option<String>
The AWS account ID.
sourcepub fn street_number(self, input: impl Into<String>) -> Self
pub fn street_number(self, input: impl Into<String>) -> Self
The address street number, such as 200
or 2121
.
sourcepub fn set_street_number(self, input: Option<String>) -> Self
pub fn set_street_number(self, input: Option<String>) -> Self
The address street number, such as 200
or 2121
.
sourcepub fn get_street_number(&self) -> &Option<String>
pub fn get_street_number(&self) -> &Option<String>
The address street number, such as 200
or 2121
.
sourcepub fn street_info(self, input: impl Into<String>) -> Self
pub fn street_info(self, input: impl Into<String>) -> Self
The address street information, such as 8th Avenue
.
sourcepub fn set_street_info(self, input: Option<String>) -> Self
pub fn set_street_info(self, input: Option<String>) -> Self
The address street information, such as 8th Avenue
.
sourcepub fn get_street_info(&self) -> &Option<String>
pub fn get_street_info(&self) -> &Option<String>
The address street information, such as 8th Avenue
.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The address country, such as US
.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
The address country, such as US
.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The address postal code, such as 04352
.
sourcepub fn set_postal_code(self, input: Option<String>) -> Self
pub fn set_postal_code(self, input: Option<String>) -> Self
The address postal code, such as 04352
.
sourcepub fn get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
The address postal code, such as 04352
.
Trait Implementationsยง
sourceยงimpl Clone for ValidateE911AddressFluentBuilder
impl Clone for ValidateE911AddressFluentBuilder
sourceยงfn clone(&self) -> ValidateE911AddressFluentBuilder
fn clone(&self) -> ValidateE911AddressFluentBuilder
1.0.0 ยท sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementationsยง
impl Freeze for ValidateE911AddressFluentBuilder
impl !RefUnwindSafe for ValidateE911AddressFluentBuilder
impl Send for ValidateE911AddressFluentBuilder
impl Sync for ValidateE911AddressFluentBuilder
impl Unpin for ValidateE911AddressFluentBuilder
impl !UnwindSafe for ValidateE911AddressFluentBuilder
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