Struct aws_sdk_customerprofiles::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 set_address1(self, input: Option<String>) -> Self
pub fn set_address1(self, input: Option<String>) -> Self
The first line of a customer address.
sourcepub fn get_address1(&self) -> &Option<String>
pub fn get_address1(&self) -> &Option<String>
The first line of a customer address.
sourcepub fn set_address2(self, input: Option<String>) -> Self
pub fn set_address2(self, input: Option<String>) -> Self
The second line of a customer address.
sourcepub fn get_address2(&self) -> &Option<String>
pub fn get_address2(&self) -> &Option<String>
The second line of a customer address.
sourcepub fn set_address3(self, input: Option<String>) -> Self
pub fn set_address3(self, input: Option<String>) -> Self
The third line of a customer address.
sourcepub fn get_address3(&self) -> &Option<String>
pub fn get_address3(&self) -> &Option<String>
The third line of a customer address.
sourcepub fn set_address4(self, input: Option<String>) -> Self
pub fn set_address4(self, input: Option<String>) -> Self
The fourth line of a customer address.
sourcepub fn get_address4(&self) -> &Option<String>
pub fn get_address4(&self) -> &Option<String>
The fourth line of a customer address.
sourcepub fn set_county(self, input: Option<String>) -> Self
pub fn set_county(self, input: Option<String>) -> Self
The county in which a customer lives.
sourcepub fn get_county(&self) -> &Option<String>
pub fn get_county(&self) -> &Option<String>
The county in which a customer lives.
sourcepub fn province(self, input: impl Into<String>) -> Self
pub fn province(self, input: impl Into<String>) -> Self
The province in which a customer lives.
sourcepub fn set_province(self, input: Option<String>) -> Self
pub fn set_province(self, input: Option<String>) -> Self
The province in which a customer lives.
sourcepub fn get_province(&self) -> &Option<String>
pub fn get_province(&self) -> &Option<String>
The province in which a customer lives.
sourcepub fn set_country(self, input: Option<String>) -> Self
pub fn set_country(self, input: Option<String>) -> Self
The country in which a customer lives.
sourcepub fn get_country(&self) -> &Option<String>
pub fn get_country(&self) -> &Option<String>
The country in which a customer lives.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The postal code of a customer 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 a customer address.
sourcepub fn get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
The postal code of a customer address.
Trait Implementations§
source§impl Clone for AddressBuilder
impl Clone for AddressBuilder
source§fn clone(&self) -> AddressBuilder
fn clone(&self) -> AddressBuilder
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 Debug for AddressBuilder
impl Debug for AddressBuilder
source§impl Default for AddressBuilder
impl Default for AddressBuilder
source§fn default() -> AddressBuilder
fn default() -> AddressBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddressBuilder
impl PartialEq for AddressBuilder
source§fn eq(&self, other: &AddressBuilder) -> bool
fn eq(&self, other: &AddressBuilder) -> bool
This method tests for
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
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.