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 ==.