Struct aws_sdk_outposts::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 contact_name(self, input: impl Into<String>) -> Self
pub fn contact_name(self, input: impl Into<String>) -> Self
The name of the contact.
sourcepub fn set_contact_name(self, input: Option<String>) -> Self
pub fn set_contact_name(self, input: Option<String>) -> Self
The name of the contact.
sourcepub fn contact_phone_number(self, input: impl Into<String>) -> Self
pub fn contact_phone_number(self, input: impl Into<String>) -> Self
The phone number of the contact.
sourcepub fn set_contact_phone_number(self, input: Option<String>) -> Self
pub fn set_contact_phone_number(self, input: Option<String>) -> Self
The phone number of the contact.
sourcepub fn address_line1(self, input: impl Into<String>) -> Self
pub fn address_line1(self, input: impl Into<String>) -> Self
The first line of the address.
sourcepub fn set_address_line1(self, input: Option<String>) -> Self
pub fn set_address_line1(self, input: Option<String>) -> Self
The first line of the address.
sourcepub fn address_line2(self, input: impl Into<String>) -> Self
pub fn address_line2(self, input: impl Into<String>) -> Self
The second line of the address.
sourcepub fn set_address_line2(self, input: Option<String>) -> Self
pub fn set_address_line2(self, input: Option<String>) -> Self
The second line of the address.
sourcepub fn address_line3(self, input: impl Into<String>) -> Self
pub fn address_line3(self, input: impl Into<String>) -> Self
The third line of the address.
sourcepub fn set_address_line3(self, input: Option<String>) -> Self
pub fn set_address_line3(self, input: Option<String>) -> Self
The third line of the address.
sourcepub fn state_or_region(self, input: impl Into<String>) -> Self
pub fn state_or_region(self, input: impl Into<String>) -> Self
The state for the address.
sourcepub fn set_state_or_region(self, input: Option<String>) -> Self
pub fn set_state_or_region(self, input: Option<String>) -> Self
The state for the address.
sourcepub fn district_or_county(self, input: impl Into<String>) -> Self
pub fn district_or_county(self, input: impl Into<String>) -> Self
The district or county for the address.
sourcepub fn set_district_or_county(self, input: Option<String>) -> Self
pub fn set_district_or_county(self, input: Option<String>) -> Self
The district or county for the address.
sourcepub fn postal_code(self, input: impl Into<String>) -> Self
pub fn postal_code(self, input: impl Into<String>) -> Self
The postal code for the address.
sourcepub fn set_postal_code(self, input: Option<String>) -> Self
pub fn set_postal_code(self, input: Option<String>) -> Self
The postal code for the address.
sourcepub fn country_code(self, input: impl Into<String>) -> Self
pub fn country_code(self, input: impl Into<String>) -> Self
The ISO-3166 two-letter country code for the address.
sourcepub fn set_country_code(self, input: Option<String>) -> Self
pub fn set_country_code(self, input: Option<String>) -> Self
The ISO-3166 two-letter country code for the address.
sourcepub fn municipality(self, input: impl Into<String>) -> Self
pub fn municipality(self, input: impl Into<String>) -> Self
The municipality for the address.
sourcepub fn set_municipality(self, input: Option<String>) -> Self
pub fn set_municipality(self, input: Option<String>) -> Self
The municipality for the 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<AddressBuilder> for AddressBuilder
impl PartialEq<AddressBuilder> 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 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