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 ==
.