Struct aws_sdk_chime::types::builders::AddressBuilder
source · #[non_exhaustive]pub struct AddressBuilder { /* private fields */ }
Expand description
A builder for Address
.
Implementations§
source§impl AddressBuilder
impl AddressBuilder
sourcepub fn street_name(self, input: impl Into<String>) -> Self
pub fn street_name(self, input: impl Into<String>) -> Self
The address street, such as 8th Avenue
.
sourcepub fn set_street_name(self, input: Option<String>) -> Self
pub fn set_street_name(self, input: Option<String>) -> Self
The address street, such as 8th Avenue
.
sourcepub fn get_street_name(&self) -> &Option<String>
pub fn get_street_name(&self) -> &Option<String>
The address street, such as 8th Avenue
.
sourcepub fn street_suffix(self, input: impl Into<String>) -> Self
pub fn street_suffix(self, input: impl Into<String>) -> Self
The address suffix, such as the N
in 8th Avenue N
.
sourcepub fn set_street_suffix(self, input: Option<String>) -> Self
pub fn set_street_suffix(self, input: Option<String>) -> Self
The address suffix, such as the N
in 8th Avenue N
.
sourcepub fn get_street_suffix(&self) -> &Option<String>
pub fn get_street_suffix(&self) -> &Option<String>
The address suffix, such as the N
in 8th Avenue N
.
sourcepub fn post_directional(self, input: impl Into<String>) -> Self
pub fn post_directional(self, input: impl Into<String>) -> Self
An address suffix location, such as the S. Unit A
in Central Park S. Unit A
.
sourcepub fn set_post_directional(self, input: Option<String>) -> Self
pub fn set_post_directional(self, input: Option<String>) -> Self
An address suffix location, such as the S. Unit A
in Central Park S. Unit A
.
sourcepub fn get_post_directional(&self) -> &Option<String>
pub fn get_post_directional(&self) -> &Option<String>
An address suffix location, such as the S. Unit A
in Central Park S. Unit A
.
sourcepub fn pre_directional(self, input: impl Into<String>) -> Self
pub fn pre_directional(self, input: impl Into<String>) -> Self
An address prefix location, such as the N
in N. Third St.
.
sourcepub fn set_pre_directional(self, input: Option<String>) -> Self
pub fn set_pre_directional(self, input: Option<String>) -> Self
An address prefix location, such as the N
in N. Third St.
.
sourcepub fn get_pre_directional(&self) -> &Option<String>
pub fn get_pre_directional(&self) -> &Option<String>
An address prefix location, such as the N
in N. Third St.
.
sourcepub fn street_number(self, input: impl Into<String>) -> Self
pub fn street_number(self, input: impl Into<String>) -> Self
The numeric portion of an address.
sourcepub fn set_street_number(self, input: Option<String>) -> Self
pub fn set_street_number(self, input: Option<String>) -> Self
The numeric portion of an address.
sourcepub fn get_street_number(&self) -> &Option<String>
pub fn get_street_number(&self) -> &Option<String>
The numeric portion of an address.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The postal code of an address.
sourcepub fn set_postal_code(self, input: Option<String>) -> Self
pub fn set_postal_code(self, input: Option<String>) -> Self
The postal code of an address.
sourcepub fn get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
The postal code of an address.
sourcepub fn postal_code_plus4(self, input: impl Into<String>) -> Self
pub fn postal_code_plus4(self, input: impl Into<String>) -> Self
The Zip + 4 or postal code + 4 of an address.
sourcepub fn set_postal_code_plus4(self, input: Option<String>) -> Self
pub fn set_postal_code_plus4(self, input: Option<String>) -> Self
The Zip + 4 or postal code + 4 of an address.
sourcepub fn get_postal_code_plus4(&self) -> &Option<String>
pub fn get_postal_code_plus4(&self) -> &Option<String>
The Zip + 4 or postal code + 4 of an address.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The country of an address.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
The country of an address.
Trait Implementations§
source§impl Clone for AddressBuilder
impl Clone for AddressBuilder
source§fn clone(&self) -> AddressBuilder
fn clone(&self) -> AddressBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AddressBuilder
impl Debug for AddressBuilder
source§impl Default for AddressBuilder
impl Default for AddressBuilder
source§fn default() -> AddressBuilder
fn default() -> AddressBuilder
source§impl PartialEq for AddressBuilder
impl PartialEq for AddressBuilder
source§fn eq(&self, other: &AddressBuilder) -> bool
fn eq(&self, other: &AddressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddressBuilder
Auto Trait Implementations§
impl Freeze for AddressBuilder
impl RefUnwindSafe for AddressBuilder
impl Send for AddressBuilder
impl Sync for AddressBuilder
impl Unpin for AddressBuilder
impl UnwindSafe for AddressBuilder
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