#[non_exhaustive]pub struct OptimizationVpcConfigBuilder { /* private fields */ }
Expand description
A builder for OptimizationVpcConfig
.
Implementations§
source§impl OptimizationVpcConfigBuilder
impl OptimizationVpcConfigBuilder
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 optimized model.
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 optimized model.
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 optimized model.
sourcepub fn build(self) -> OptimizationVpcConfig
pub fn build(self) -> OptimizationVpcConfig
Consumes the builder and constructs a OptimizationVpcConfig
.
Trait Implementations§
source§impl Clone for OptimizationVpcConfigBuilder
impl Clone for OptimizationVpcConfigBuilder
source§fn clone(&self) -> OptimizationVpcConfigBuilder
fn clone(&self) -> OptimizationVpcConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OptimizationVpcConfigBuilder
impl Debug for OptimizationVpcConfigBuilder
source§impl Default for OptimizationVpcConfigBuilder
impl Default for OptimizationVpcConfigBuilder
source§fn default() -> OptimizationVpcConfigBuilder
fn default() -> OptimizationVpcConfigBuilder
source§impl PartialEq for OptimizationVpcConfigBuilder
impl PartialEq for OptimizationVpcConfigBuilder
source§fn eq(&self, other: &OptimizationVpcConfigBuilder) -> bool
fn eq(&self, other: &OptimizationVpcConfigBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for OptimizationVpcConfigBuilder
Auto Trait Implementations§
impl Freeze for OptimizationVpcConfigBuilder
impl RefUnwindSafe for OptimizationVpcConfigBuilder
impl Send for OptimizationVpcConfigBuilder
impl Sync for OptimizationVpcConfigBuilder
impl Unpin for OptimizationVpcConfigBuilder
impl UnwindSafe for OptimizationVpcConfigBuilder
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> 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)
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>
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