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
source§fn eq(&self, other: &AddressBuilder) -> bool
fn eq(&self, other: &AddressBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.