Struct aws_sdk_scheduler::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
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.
sourcepub fn set_awsvpc_configuration(self, input: Option<AwsVpcConfiguration>) -> Self
pub fn set_awsvpc_configuration(self, input: Option<AwsVpcConfiguration>) -> Self
Specifies the Amazon VPC subnets and security groups for the task, and whether a public IP address is to be used. This structure is relevant only for ECS tasks that use the awsvpc network mode.
sourcepub fn build(self) -> NetworkConfiguration
pub fn build(self) -> NetworkConfiguration
Consumes the builder and constructs a NetworkConfiguration
.