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 get_lat(&self) -> &Option<f64>
pub fn get_lat(&self) -> &Option<f64>
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 get_lon(&self) -> &Option<f64>
pub fn get_lon(&self) -> &Option<f64>
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 for IpGeoLocationBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for IpGeoLocationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IpGeoLocationBuilder
impl Send for IpGeoLocationBuilder
impl Sync for IpGeoLocationBuilder
impl Unpin for IpGeoLocationBuilder
impl UnwindSafe for IpGeoLocationBuilder
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
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>
Creates a shared type from an unshared type.