pub struct Builder { /* private fields */ }Expand description
A builder for AwsCodeBuildProjectVpcConfig.
Implementations§
source§impl Builder
impl Builder
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 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.
A list of one or more subnet IDs in your VPC.
sourcepub fn set_subnets(self, input: Option<Vec<String>>) -> Self
pub fn set_subnets(self, input: Option<Vec<String>>) -> Self
A list of one or more subnet IDs in your VPC.
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 one or more security group IDs in your VPC.
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 one or more security group IDs in your VPC.
sourcepub fn build(self) -> AwsCodeBuildProjectVpcConfig
pub fn build(self) -> AwsCodeBuildProjectVpcConfig
Consumes the builder and constructs a AwsCodeBuildProjectVpcConfig.