Struct aws_sdk_macie2::types::builders::IpGeoLocationBuilder
source · #[non_exhaustive]pub struct IpGeoLocationBuilder { /* private fields */ }
Expand description
A builder for IpGeoLocation
.
Implementations§
source§impl IpGeoLocationBuilder
impl IpGeoLocationBuilder
sourcepub fn lat(self, input: f64) -> Self
pub fn lat(self, input: f64) -> Self
The latitude coordinate of the location, rounded to four decimal places.
sourcepub fn set_lat(self, input: Option<f64>) -> Self
pub fn set_lat(self, input: Option<f64>) -> Self
The latitude coordinate of the location, rounded to four decimal places.
sourcepub fn lon(self, input: f64) -> Self
pub fn lon(self, input: f64) -> Self
The longitude coordinate of the location, rounded to four decimal places.
sourcepub fn set_lon(self, input: Option<f64>) -> Self
pub fn set_lon(self, input: Option<f64>) -> Self
The longitude coordinate of the location, rounded to four decimal places.
sourcepub fn build(self) -> IpGeoLocation
pub fn build(self) -> IpGeoLocation
Consumes the builder and constructs a IpGeoLocation
.
Trait Implementations§
source§impl Clone for IpGeoLocationBuilder
impl Clone for IpGeoLocationBuilder
source§fn clone(&self) -> IpGeoLocationBuilder
fn clone(&self) -> IpGeoLocationBuilder
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 IpGeoLocationBuilder
impl Debug for IpGeoLocationBuilder
source§impl Default for IpGeoLocationBuilder
impl Default for IpGeoLocationBuilder
source§fn default() -> IpGeoLocationBuilder
fn default() -> IpGeoLocationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IpGeoLocationBuilder> for IpGeoLocationBuilder
impl PartialEq<IpGeoLocationBuilder> for IpGeoLocationBuilder
source§fn eq(&self, other: &IpGeoLocationBuilder) -> bool
fn eq(&self, other: &IpGeoLocationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.