Struct aws_sdk_macie2::types::builders::IpOwnerBuilder
source · #[non_exhaustive]pub struct IpOwnerBuilder { /* private fields */ }Expand description
A builder for IpOwner.
Implementations§
source§impl IpOwnerBuilder
impl IpOwnerBuilder
sourcepub fn asn(self, input: impl Into<String>) -> Self
pub fn asn(self, input: impl Into<String>) -> Self
The autonomous system number (ASN) for the autonomous system that included the IP address.
sourcepub fn set_asn(self, input: Option<String>) -> Self
pub fn set_asn(self, input: Option<String>) -> Self
The autonomous system number (ASN) for the autonomous system that included the IP address.
sourcepub fn asn_org(self, input: impl Into<String>) -> Self
pub fn asn_org(self, input: impl Into<String>) -> Self
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
sourcepub fn set_asn_org(self, input: Option<String>) -> Self
pub fn set_asn_org(self, input: Option<String>) -> Self
The organization identifier that's associated with the autonomous system number (ASN) for the autonomous system that included the IP address.
sourcepub fn isp(self, input: impl Into<String>) -> Self
pub fn isp(self, input: impl Into<String>) -> Self
The name of the internet service provider (ISP) that owned the IP address.
sourcepub fn set_isp(self, input: Option<String>) -> Self
pub fn set_isp(self, input: Option<String>) -> Self
The name of the internet service provider (ISP) that owned the IP address.
sourcepub fn org(self, input: impl Into<String>) -> Self
pub fn org(self, input: impl Into<String>) -> Self
The name of the organization that owned the IP address.
Trait Implementations§
source§impl Clone for IpOwnerBuilder
impl Clone for IpOwnerBuilder
source§fn clone(&self) -> IpOwnerBuilder
fn clone(&self) -> IpOwnerBuilder
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 IpOwnerBuilder
impl Debug for IpOwnerBuilder
source§impl Default for IpOwnerBuilder
impl Default for IpOwnerBuilder
source§fn default() -> IpOwnerBuilder
fn default() -> IpOwnerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<IpOwnerBuilder> for IpOwnerBuilder
impl PartialEq<IpOwnerBuilder> for IpOwnerBuilder
source§fn eq(&self, other: &IpOwnerBuilder) -> bool
fn eq(&self, other: &IpOwnerBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpOwnerBuilder
Auto Trait Implementations§
impl RefUnwindSafe for IpOwnerBuilder
impl Send for IpOwnerBuilder
impl Sync for IpOwnerBuilder
impl Unpin for IpOwnerBuilder
impl UnwindSafe for IpOwnerBuilder
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