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 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 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 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 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 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
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 IpAddressDetailsBuilder
impl Debug for IpAddressDetailsBuilder
source§impl Default for IpAddressDetailsBuilder
impl Default for IpAddressDetailsBuilder
source§fn default() -> IpAddressDetailsBuilder
fn default() -> IpAddressDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IpAddressDetailsBuilder> for IpAddressDetailsBuilder
impl PartialEq<IpAddressDetailsBuilder> for IpAddressDetailsBuilder
source§fn eq(&self, other: &IpAddressDetailsBuilder) -> bool
fn eq(&self, other: &IpAddressDetailsBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpAddressDetailsBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more