Struct aws_sdk_macie2::types::builders::IpAddressDetailsBuilder
source · #[non_exhaustive]pub struct IpAddressDetailsBuilder { /* private fields */ }Expand description
A builder for IpAddressDetails.
Implementations§
source§impl IpAddressDetailsBuilder
impl IpAddressDetailsBuilder
sourcepub fn ip_address_v4(self, input: impl Into<String>) -> Self
pub fn ip_address_v4(self, input: impl Into<String>) -> Self
The Internet Protocol version 4 (IPv4) address of the device.
sourcepub fn set_ip_address_v4(self, input: Option<String>) -> Self
pub fn set_ip_address_v4(self, input: Option<String>) -> Self
The Internet Protocol version 4 (IPv4) address of the device.
sourcepub fn get_ip_address_v4(&self) -> &Option<String>
pub fn get_ip_address_v4(&self) -> &Option<String>
The Internet Protocol version 4 (IPv4) address of the device.
sourcepub fn set_ip_city(self, input: Option<IpCity>) -> Self
pub fn set_ip_city(self, input: Option<IpCity>) -> Self
The city that the IP address originated from.
sourcepub fn get_ip_city(&self) -> &Option<IpCity>
pub fn get_ip_city(&self) -> &Option<IpCity>
The city that the IP address originated from.
sourcepub fn ip_country(self, input: IpCountry) -> Self
pub fn ip_country(self, input: IpCountry) -> Self
The country that the IP address originated from.
sourcepub fn set_ip_country(self, input: Option<IpCountry>) -> Self
pub fn set_ip_country(self, input: Option<IpCountry>) -> Self
The country that the IP address originated from.
sourcepub fn get_ip_country(&self) -> &Option<IpCountry>
pub fn get_ip_country(&self) -> &Option<IpCountry>
The country that the IP address originated from.
sourcepub fn ip_geo_location(self, input: IpGeoLocation) -> Self
pub fn ip_geo_location(self, input: IpGeoLocation) -> Self
The geographic coordinates of the location that the IP address originated from.
sourcepub fn set_ip_geo_location(self, input: Option<IpGeoLocation>) -> Self
pub fn set_ip_geo_location(self, input: Option<IpGeoLocation>) -> Self
The geographic coordinates of the location that the IP address originated from.
sourcepub fn get_ip_geo_location(&self) -> &Option<IpGeoLocation>
pub fn get_ip_geo_location(&self) -> &Option<IpGeoLocation>
The geographic coordinates of the location that the IP address originated from.
sourcepub fn set_ip_owner(self, input: Option<IpOwner>) -> Self
pub fn set_ip_owner(self, input: Option<IpOwner>) -> Self
The registered owner of the IP address.
sourcepub fn get_ip_owner(&self) -> &Option<IpOwner>
pub fn get_ip_owner(&self) -> &Option<IpOwner>
The registered owner of the IP address.
sourcepub fn build(self) -> IpAddressDetails
pub fn build(self) -> IpAddressDetails
Consumes the builder and constructs a IpAddressDetails.
Trait Implementations§
source§impl Clone for IpAddressDetailsBuilder
impl Clone for IpAddressDetailsBuilder
source§fn clone(&self) -> IpAddressDetailsBuilder
fn clone(&self) -> IpAddressDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for IpAddressDetailsBuilder
impl Debug for IpAddressDetailsBuilder
source§impl Default for IpAddressDetailsBuilder
impl Default for IpAddressDetailsBuilder
source§fn default() -> IpAddressDetailsBuilder
fn default() -> IpAddressDetailsBuilder
source§impl PartialEq for IpAddressDetailsBuilder
impl PartialEq for IpAddressDetailsBuilder
source§fn eq(&self, other: &IpAddressDetailsBuilder) -> bool
fn eq(&self, other: &IpAddressDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpAddressDetailsBuilder
Auto Trait Implementations§
impl Freeze for IpAddressDetailsBuilder
impl RefUnwindSafe for IpAddressDetailsBuilder
impl Send for IpAddressDetailsBuilder
impl Sync for IpAddressDetailsBuilder
impl Unpin for IpAddressDetailsBuilder
impl UnwindSafe for IpAddressDetailsBuilder
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