Struct aws_sdk_sagemaker::types::SourceIpConfig
source · #[non_exhaustive]pub struct SourceIpConfig { /* private fields */ }
Expand description
A list of IP address ranges (CIDRs). Used to create an allow list of IP addresses for a private workforce. Workers will only be able to login to their worker portal from an IP address within this range. By default, a workforce isn't restricted to specific IP addresses.
Implementations§
source§impl SourceIpConfig
impl SourceIpConfig
sourcepub fn cidrs(&self) -> Option<&[String]>
pub fn cidrs(&self) -> Option<&[String]>
A list of one to ten Classless Inter-Domain Routing (CIDR) values.
Maximum: Ten CIDR values
The following Length Constraints apply to individual CIDR values in the CIDR value list.
source§impl SourceIpConfig
impl SourceIpConfig
sourcepub fn builder() -> SourceIpConfigBuilder
pub fn builder() -> SourceIpConfigBuilder
Creates a new builder-style object to manufacture SourceIpConfig
.
Trait Implementations§
source§impl Clone for SourceIpConfig
impl Clone for SourceIpConfig
source§fn clone(&self) -> SourceIpConfig
fn clone(&self) -> SourceIpConfig
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 SourceIpConfig
impl Debug for SourceIpConfig
source§impl PartialEq<SourceIpConfig> for SourceIpConfig
impl PartialEq<SourceIpConfig> for SourceIpConfig
source§fn eq(&self, other: &SourceIpConfig) -> bool
fn eq(&self, other: &SourceIpConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SourceIpConfig
Auto Trait Implementations§
impl RefUnwindSafe for SourceIpConfig
impl Send for SourceIpConfig
impl Sync for SourceIpConfig
impl Unpin for SourceIpConfig
impl UnwindSafe for SourceIpConfig
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