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 get_asn(&self) -> &Option<String>
pub fn get_asn(&self) -> &Option<String>
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 get_asn_org(&self) -> &Option<String>
pub fn get_asn_org(&self) -> &Option<String>
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 get_isp(&self) -> &Option<String>
pub fn get_isp(&self) -> &Option<String>
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.
sourcepub fn set_org(self, input: Option<String>) -> Self
pub fn set_org(self, input: Option<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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for IpOwnerBuilder
impl PartialEq for IpOwnerBuilder
source§fn eq(&self, other: &IpOwnerBuilder) -> bool
fn eq(&self, other: &IpOwnerBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for IpOwnerBuilder
Auto Trait Implementations§
impl Freeze for IpOwnerBuilder
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
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