Struct aws_sdk_ecs::model::network_configuration::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for NetworkConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn awsvpc_configuration(self, input: AwsVpcConfiguration) -> Self
pub fn awsvpc_configuration(self, input: AwsVpcConfiguration) -> Self
The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
sourcepub fn set_awsvpc_configuration(self, input: Option<AwsVpcConfiguration>) -> Self
pub fn set_awsvpc_configuration(self, input: Option<AwsVpcConfiguration>) -> Self
The VPC subnets and security groups that are associated with a task.
All specified subnets and security groups must be from the same VPC.
sourcepub fn build(self) -> NetworkConfiguration
pub fn build(self) -> NetworkConfiguration
Consumes the builder and constructs a NetworkConfiguration.