#[non_exhaustive]pub struct RecommendationJobVpcConfig {
pub security_group_ids: Option<Vec<String>>,
pub subnets: Option<Vec<String>>,
}
Expand description
Inference Recommender provisions SageMaker endpoints with access to VPC in the inference recommendation job.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.security_group_ids: Option<Vec<String>>
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
subnets: Option<Vec<String>>
The ID of the subnets in the VPC to which you want to connect your model.
Implementations§
source§impl RecommendationJobVpcConfig
impl RecommendationJobVpcConfig
sourcepub fn security_group_ids(&self) -> &[String]
pub fn security_group_ids(&self) -> &[String]
The VPC security group IDs. IDs have the form of sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .security_group_ids.is_none()
.
source§impl RecommendationJobVpcConfig
impl RecommendationJobVpcConfig
sourcepub fn builder() -> RecommendationJobVpcConfigBuilder
pub fn builder() -> RecommendationJobVpcConfigBuilder
Creates a new builder-style object to manufacture RecommendationJobVpcConfig
.
Trait Implementations§
source§impl Clone for RecommendationJobVpcConfig
impl Clone for RecommendationJobVpcConfig
source§fn clone(&self) -> RecommendationJobVpcConfig
fn clone(&self) -> RecommendationJobVpcConfig
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 RecommendationJobVpcConfig
impl Debug for RecommendationJobVpcConfig
source§impl PartialEq for RecommendationJobVpcConfig
impl PartialEq for RecommendationJobVpcConfig
source§fn eq(&self, other: &RecommendationJobVpcConfig) -> bool
fn eq(&self, other: &RecommendationJobVpcConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationJobVpcConfig
Auto Trait Implementations§
impl Freeze for RecommendationJobVpcConfig
impl RefUnwindSafe for RecommendationJobVpcConfig
impl Send for RecommendationJobVpcConfig
impl Sync for RecommendationJobVpcConfig
impl Unpin for RecommendationJobVpcConfig
impl UnwindSafe for RecommendationJobVpcConfig
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.