Struct aws_sdk_chime::operation::validate_e911_address::builders::ValidateE911AddressInputBuilder
source · #[non_exhaustive]pub struct ValidateE911AddressInputBuilder { /* private fields */ }
Expand description
A builder for ValidateE911AddressInput
.
Implementations§
source§impl ValidateE911AddressInputBuilder
impl ValidateE911AddressInputBuilder
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.
This field is required.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 city(self, input: impl Into<String>) -> Self
pub fn city(self, input: impl Into<String>) -> Self
The address city, such as Portland
.
sourcepub fn state(self, input: impl Into<String>) -> Self
pub fn state(self, input: impl Into<String>) -> Self
The address state, such as ME
.
sourcepub fn country(self, input: impl Into<String>) -> Self
pub fn country(self, input: impl Into<String>) -> Self
The address country, such as US
.
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
.
sourcepub fn build(self) -> Result<ValidateE911AddressInput, BuildError>
pub fn build(self) -> Result<ValidateE911AddressInput, BuildError>
Consumes the builder and constructs a ValidateE911AddressInput
.
source§impl ValidateE911AddressInputBuilder
impl ValidateE911AddressInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ValidateE911AddressOutput, SdkError<ValidateE911AddressError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ValidateE911AddressOutput, SdkError<ValidateE911AddressError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ValidateE911AddressInputBuilder
impl Clone for ValidateE911AddressInputBuilder
source§fn clone(&self) -> ValidateE911AddressInputBuilder
fn clone(&self) -> ValidateE911AddressInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ValidateE911AddressInputBuilder
impl Default for ValidateE911AddressInputBuilder
source§fn default() -> ValidateE911AddressInputBuilder
fn default() -> ValidateE911AddressInputBuilder
source§impl PartialEq for ValidateE911AddressInputBuilder
impl PartialEq for ValidateE911AddressInputBuilder
source§fn eq(&self, other: &ValidateE911AddressInputBuilder) -> bool
fn eq(&self, other: &ValidateE911AddressInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidateE911AddressInputBuilder
Auto Trait Implementations§
impl Freeze for ValidateE911AddressInputBuilder
impl RefUnwindSafe for ValidateE911AddressInputBuilder
impl Send for ValidateE911AddressInputBuilder
impl Sync for ValidateE911AddressInputBuilder
impl Unpin for ValidateE911AddressInputBuilder
impl UnwindSafe for ValidateE911AddressInputBuilder
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