#[non_exhaustive]pub struct GetGeoLocationInputBuilder { /* private fields */ }
Expand description
A builder for GetGeoLocationInput
.
Implementations§
source§impl GetGeoLocationInputBuilder
impl GetGeoLocationInputBuilder
sourcepub fn continent_code(self, input: impl Into<String>) -> Self
pub fn continent_code(self, input: impl Into<String>) -> Self
For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
sourcepub fn set_continent_code(self, input: Option<String>) -> Self
pub fn set_continent_code(self, input: Option<String>) -> Self
For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
sourcepub fn get_continent_code(&self) -> &Option<String>
pub fn get_continent_code(&self) -> &Option<String>
For geolocation resource record sets, a two-letter abbreviation that identifies a continent. Amazon Route 53 supports the following continent codes:
-
AF: Africa
-
AN: Antarctica
-
AS: Asia
-
EU: Europe
-
OC: Oceania
-
NA: North America
-
SA: South America
sourcepub fn country_code(self, input: impl Into<String>) -> Self
pub fn country_code(self, input: impl Into<String>) -> Self
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the country code UA for Ukraine.
sourcepub fn set_country_code(self, input: Option<String>) -> Self
pub fn set_country_code(self, input: Option<String>) -> Self
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the country code UA for Ukraine.
sourcepub fn get_country_code(&self) -> &Option<String>
pub fn get_country_code(&self) -> &Option<String>
Amazon Route 53 uses the two-letter country codes that are specified in ISO standard 3166-1 alpha-2.
Route 53 also supports the country code UA for Ukraine.
sourcepub fn subdivision_code(self, input: impl Into<String>) -> Self
pub fn subdivision_code(self, input: impl Into<String>) -> Self
The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
sourcepub fn set_subdivision_code(self, input: Option<String>) -> Self
pub fn set_subdivision_code(self, input: Option<String>) -> Self
The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
sourcepub fn get_subdivision_code(&self) -> &Option<String>
pub fn get_subdivision_code(&self) -> &Option<String>
The code for the subdivision, such as a particular state within the United States. For a list of US state abbreviations, see Appendix B: Two–Letter State and Possession Abbreviations on the United States Postal Service website. For a list of all supported subdivision codes, use the ListGeoLocations API.
sourcepub fn build(self) -> Result<GetGeoLocationInput, BuildError>
pub fn build(self) -> Result<GetGeoLocationInput, BuildError>
Consumes the builder and constructs a GetGeoLocationInput
.
source§impl GetGeoLocationInputBuilder
impl GetGeoLocationInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetGeoLocationOutput, SdkError<GetGeoLocationError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetGeoLocationOutput, SdkError<GetGeoLocationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetGeoLocationInputBuilder
impl Clone for GetGeoLocationInputBuilder
source§fn clone(&self) -> GetGeoLocationInputBuilder
fn clone(&self) -> GetGeoLocationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetGeoLocationInputBuilder
impl Debug for GetGeoLocationInputBuilder
source§impl Default for GetGeoLocationInputBuilder
impl Default for GetGeoLocationInputBuilder
source§fn default() -> GetGeoLocationInputBuilder
fn default() -> GetGeoLocationInputBuilder
source§impl PartialEq for GetGeoLocationInputBuilder
impl PartialEq for GetGeoLocationInputBuilder
source§fn eq(&self, other: &GetGeoLocationInputBuilder) -> bool
fn eq(&self, other: &GetGeoLocationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetGeoLocationInputBuilder
Auto Trait Implementations§
impl Freeze for GetGeoLocationInputBuilder
impl RefUnwindSafe for GetGeoLocationInputBuilder
impl Send for GetGeoLocationInputBuilder
impl Sync for GetGeoLocationInputBuilder
impl Unpin for GetGeoLocationInputBuilder
impl UnwindSafe for GetGeoLocationInputBuilder
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> 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