#[non_exhaustive]pub struct AwsLambdaFunctionVpcConfigBuilder { /* private fields */ }Expand description
A builder for AwsLambdaFunctionVpcConfig.
Implementations§
source§impl AwsLambdaFunctionVpcConfigBuilder
impl AwsLambdaFunctionVpcConfigBuilder
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.
A list of VPC security groups IDs.
sourcepub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_security_group_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC security groups IDs.
sourcepub fn subnet_ids(self, input: impl Into<String>) -> Self
pub fn subnet_ids(self, input: impl Into<String>) -> Self
Appends an item to subnet_ids.
To override the contents of this collection use set_subnet_ids.
A list of VPC subnet IDs.
sourcepub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_subnet_ids(self, input: Option<Vec<String>>) -> Self
A list of VPC subnet IDs.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
The ID of the VPC.
sourcepub fn build(self) -> AwsLambdaFunctionVpcConfig
pub fn build(self) -> AwsLambdaFunctionVpcConfig
Consumes the builder and constructs a AwsLambdaFunctionVpcConfig.
Trait Implementations§
source§impl Clone for AwsLambdaFunctionVpcConfigBuilder
impl Clone for AwsLambdaFunctionVpcConfigBuilder
source§fn clone(&self) -> AwsLambdaFunctionVpcConfigBuilder
fn clone(&self) -> AwsLambdaFunctionVpcConfigBuilder
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 Default for AwsLambdaFunctionVpcConfigBuilder
impl Default for AwsLambdaFunctionVpcConfigBuilder
source§fn default() -> AwsLambdaFunctionVpcConfigBuilder
fn default() -> AwsLambdaFunctionVpcConfigBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AwsLambdaFunctionVpcConfigBuilder> for AwsLambdaFunctionVpcConfigBuilder
impl PartialEq<AwsLambdaFunctionVpcConfigBuilder> for AwsLambdaFunctionVpcConfigBuilder
source§fn eq(&self, other: &AwsLambdaFunctionVpcConfigBuilder) -> bool
fn eq(&self, other: &AwsLambdaFunctionVpcConfigBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.