Struct aws_sdk_sagemaker::types::builders::VpcConfigBuilder
source · #[non_exhaustive]pub struct VpcConfigBuilder { /* private fields */ }
Expand description
A builder for VpcConfig
.
Implementations§
source§impl VpcConfigBuilder
impl VpcConfigBuilder
sourcepub fn security_group_ids(self, input: impl Into<String>) -> Self
pub fn security_group_ids(self, input: impl Into<String>) -> Self
Appends an item to security_group_ids
.
To override the contents of this collection use set_security_group_ids
.
The VPC security group IDs, in the form sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
The VPC security group IDs, in the form sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
sourcepub fn get_security_group_ids(&self) -> &Option<Vec<String>>
pub fn get_security_group_ids(&self) -> &Option<Vec<String>>
The VPC security group IDs, in the form sg-xxxxxxxx
. Specify the security groups for the VPC that is specified in the Subnets
field.
sourcepub fn subnets(self, input: impl Into<String>) -> Self
pub fn subnets(self, input: impl Into<String>) -> Self
Appends an item to subnets
.
To override the contents of this collection use set_subnets
.
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
sourcepub fn get_subnets(&self) -> &Option<Vec<String>>
pub fn get_subnets(&self) -> &Option<Vec<String>>
The ID of the subnets in the VPC to which you want to connect your training job or model. For information about the availability of specific instance types, see Supported Instance Types and Availability Zones.
Trait Implementations§
source§impl Clone for VpcConfigBuilder
impl Clone for VpcConfigBuilder
source§fn clone(&self) -> VpcConfigBuilder
fn clone(&self) -> VpcConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VpcConfigBuilder
impl Debug for VpcConfigBuilder
source§impl Default for VpcConfigBuilder
impl Default for VpcConfigBuilder
source§fn default() -> VpcConfigBuilder
fn default() -> VpcConfigBuilder
source§impl PartialEq for VpcConfigBuilder
impl PartialEq for VpcConfigBuilder
source§fn eq(&self, other: &VpcConfigBuilder) -> bool
fn eq(&self, other: &VpcConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.