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 get_contact_name(&self) -> &Option<String>
pub fn get_contact_name(&self) -> &Option<String>
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 get_contact_phone_number(&self) -> &Option<String>
pub fn get_contact_phone_number(&self) -> &Option<String>
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.
This field is required.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 get_address_line1(&self) -> &Option<String>
pub fn get_address_line1(&self) -> &Option<String>
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 get_address_line2(&self) -> &Option<String>
pub fn get_address_line2(&self) -> &Option<String>
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 get_address_line3(&self) -> &Option<String>
pub fn get_address_line3(&self) -> &Option<String>
The third line of the address.
sourcepub fn city(self, input: impl Into<String>) -> Self
pub fn city(self, input: impl Into<String>) -> Self
The city for the address.
This field is required.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.
This field is required.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 get_state_or_region(&self) -> &Option<String>
pub fn get_state_or_region(&self) -> &Option<String>
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 get_district_or_county(&self) -> &Option<String>
pub fn get_district_or_county(&self) -> &Option<String>
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.
This field is required.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 get_postal_code(&self) -> &Option<String>
pub fn get_postal_code(&self) -> &Option<String>
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.
This field is required.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 get_country_code(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
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.
sourcepub fn get_municipality(&self) -> &Option<String>
pub fn get_municipality(&self) -> &Option<String>
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
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
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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