Struct aws_sdk_chime::operation::validate_e911_address::builders::ValidateE911AddressOutputBuilder
source · #[non_exhaustive]pub struct ValidateE911AddressOutputBuilder { /* private fields */ }
Expand description
A builder for ValidateE911AddressOutput
.
Implementations§
source§impl ValidateE911AddressOutputBuilder
impl ValidateE911AddressOutputBuilder
sourcepub fn validation_result(self, input: i32) -> Self
pub fn validation_result(self, input: i32) -> Self
Number indicating the result of address validation. 0
means the address was perfect as is and successfully validated. 1
means the address was corrected. 2
means the address sent was not close enough and was not validated.
sourcepub fn set_validation_result(self, input: Option<i32>) -> Self
pub fn set_validation_result(self, input: Option<i32>) -> Self
Number indicating the result of address validation. 0
means the address was perfect as is and successfully validated. 1
means the address was corrected. 2
means the address sent was not close enough and was not validated.
sourcepub fn get_validation_result(&self) -> &Option<i32>
pub fn get_validation_result(&self) -> &Option<i32>
Number indicating the result of address validation. 0
means the address was perfect as is and successfully validated. 1
means the address was corrected. 2
means the address sent was not close enough and was not validated.
sourcepub fn address_external_id(self, input: impl Into<String>) -> Self
pub fn address_external_id(self, input: impl Into<String>) -> Self
The ID that represents the address.
sourcepub fn set_address_external_id(self, input: Option<String>) -> Self
pub fn set_address_external_id(self, input: Option<String>) -> Self
The ID that represents the address.
sourcepub fn get_address_external_id(&self) -> &Option<String>
pub fn get_address_external_id(&self) -> &Option<String>
The ID that represents the address.
sourcepub fn set_address(self, input: Option<Address>) -> Self
pub fn set_address(self, input: Option<Address>) -> Self
The validated address.
sourcepub fn get_address(&self) -> &Option<Address>
pub fn get_address(&self) -> &Option<Address>
The validated address.
sourcepub fn candidate_address_list(self, input: CandidateAddress) -> Self
pub fn candidate_address_list(self, input: CandidateAddress) -> Self
Appends an item to candidate_address_list
.
To override the contents of this collection use set_candidate_address_list
.
The list of address suggestions.
sourcepub fn set_candidate_address_list(
self,
input: Option<Vec<CandidateAddress>>
) -> Self
pub fn set_candidate_address_list( self, input: Option<Vec<CandidateAddress>> ) -> Self
The list of address suggestions.
sourcepub fn get_candidate_address_list(&self) -> &Option<Vec<CandidateAddress>>
pub fn get_candidate_address_list(&self) -> &Option<Vec<CandidateAddress>>
The list of address suggestions.
sourcepub fn build(self) -> ValidateE911AddressOutput
pub fn build(self) -> ValidateE911AddressOutput
Consumes the builder and constructs a ValidateE911AddressOutput
.
Trait Implementations§
source§impl Clone for ValidateE911AddressOutputBuilder
impl Clone for ValidateE911AddressOutputBuilder
source§fn clone(&self) -> ValidateE911AddressOutputBuilder
fn clone(&self) -> ValidateE911AddressOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ValidateE911AddressOutputBuilder
impl Default for ValidateE911AddressOutputBuilder
source§fn default() -> ValidateE911AddressOutputBuilder
fn default() -> ValidateE911AddressOutputBuilder
source§impl PartialEq for ValidateE911AddressOutputBuilder
impl PartialEq for ValidateE911AddressOutputBuilder
source§fn eq(&self, other: &ValidateE911AddressOutputBuilder) -> bool
fn eq(&self, other: &ValidateE911AddressOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ValidateE911AddressOutputBuilder
Auto Trait Implementations§
impl Freeze for ValidateE911AddressOutputBuilder
impl RefUnwindSafe for ValidateE911AddressOutputBuilder
impl Send for ValidateE911AddressOutputBuilder
impl Sync for ValidateE911AddressOutputBuilder
impl Unpin for ValidateE911AddressOutputBuilder
impl UnwindSafe for ValidateE911AddressOutputBuilder
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